Skip to content
Snippets Groups Projects
Commit 252475e4 authored by Ere Maijala's avatar Ere Maijala Committed by Robert Lange
Browse files

Add sample CURL settings and a new proxy option (#1662)

- Includes upgrade to VuFindHttp 3.1.0.
parent 8005c782
Branches
Tags
No related merge requests found
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "a7c05e41d689747b855906365f7bcda3", "content-hash": "71e38cfbbe2cb880ebdd71890a47607f",
"packages": [ "packages": [
{ {
"name": "ahand/mobileesp", "name": "ahand/mobileesp",
...@@ -5495,16 +5495,16 @@ ...@@ -5495,16 +5495,16 @@
}, },
{ {
"name": "vufind-org/vufindhttp", "name": "vufind-org/vufindhttp",
"version": "v3.0.0", "version": "v3.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/vufind-org/vufindhttp.git", "url": "https://github.com/vufind-org/vufindhttp.git",
"reference": "26558d9b830bf5cdd5e9a5fbab06df649a5525e7" "reference": "69aff6bcb84139598bdb42d161b7483caf69b1c2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/vufind-org/vufindhttp/zipball/26558d9b830bf5cdd5e9a5fbab06df649a5525e7", "url": "https://api.github.com/repos/vufind-org/vufindhttp/zipball/69aff6bcb84139598bdb42d161b7483caf69b1c2",
"reference": "26558d9b830bf5cdd5e9a5fbab06df649a5525e7", "reference": "69aff6bcb84139598bdb42d161b7483caf69b1c2",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -5546,7 +5546,7 @@ ...@@ -5546,7 +5546,7 @@
], ],
"description": "VuFind HTTP service library", "description": "VuFind HTTP service library",
"homepage": "https://vufind.org/", "homepage": "https://vufind.org/",
"time": "2020-01-27T20:45:14+00:00" "time": "2020-07-01T10:47:57+00:00"
}, },
{ {
"name": "webfontkit/open-sans", "name": "webfontkit/open-sans",
......
...@@ -1312,8 +1312,11 @@ url = https://www.myendnoteweb.com/EndNoteWeb.html ...@@ -1312,8 +1312,11 @@ url = https://www.myendnoteweb.com/EndNoteWeb.html
;host = your.proxy.server ;host = your.proxy.server
;port = 8000 ;port = 8000
; Uncomment following line to set proxy type to SOCKS 5 ; Uncomment one of the following lines to set proxy type to SOCKS 5 or SOCKS 5 with
; name resolution done by proxy. Setting either of these will make VuFind use the
; curl adapter for HTTP requests.
;type = socks5 ;type = socks5
;type = socks5_hostname
; Default HTTP settings can be loaded here. These values will be passed to ; Default HTTP settings can be loaded here. These values will be passed to
; the \Zend\Http\Client's setOptions method. ; the \Zend\Http\Client's setOptions method.
...@@ -1327,6 +1330,12 @@ url = https://www.myendnoteweb.com/EndNoteWeb.html ...@@ -1327,6 +1330,12 @@ url = https://www.myendnoteweb.com/EndNoteWeb.html
; that you may also need to install CURL and PHP/CURL packages on your server. ; that you may also need to install CURL and PHP/CURL packages on your server.
;adapter = 'Zend\Http\Client\Adapter\Curl' ;adapter = 'Zend\Http\Client\Adapter\Curl'
; Set curl options if required. See
; https://www.php.net/manual/en/function.curl-setopt.php for available options and
; https://github.com/curl/curl/blob/master/include/curl/curl.h for their numeric
; values.
;curloptions[52] = true
; Spelling Suggestions ; Spelling Suggestions
; ;
; Note: These settings affect the VuFind side of spelling suggestions; you ; Note: These settings affect the VuFind side of spelling suggestions; you
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment