summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* unpause: trigger a timeout for event-based transfersbagder/multi-socket-unpauseDaniel Stenberg2019-06-083-27/+31
| | | | | | | | | ... so that timeouts or other state machine actions get going again after a changing pause state. For example, if the last delivery was paused there's no pending socket activity. Reported-by: sstruchtrup on github Fixes #3994
* bump: start working on 7.65.2Daniel Stenberg2019-06-082-83/+10
|
* examples/htmltitle: use C++ casts between pointer typesMarcel Raad2019-06-051-7/+7
| | | | | | Compilers and static analyzers warn about using C-style casts here. Closes https://github.com/curl/curl/pull/3975
* examples/fopen: fix comparisonMarcel Raad2019-06-051-1/+1
| | | | | | | | | As want is size_t, (file->buffer_pos - want) is unsigned, so checking if it's less than zero makes no sense. Check if file->buffer_pos is less than want instead to avoid the unsigned integer wraparound. Closes https://github.com/curl/curl/pull/3975
* build: fix Codacy warningsMarcel Raad2019-06-0523-123/+80
| | | | | | Reduce variable scopes and remove redundant variable stores. Closes https://github.com/curl/curl/pull/3975
* sws: remove unused variablesMarcel Raad2019-06-051-17/+8
| | | | | | Unused since commit 2f44e94. Closes https://github.com/curl/curl/pull/3975
* RELEASE-NOTES: 7.65.1curl-7_65_1Daniel Stenberg2019-06-041-6/+22
|
* THANKS: new contributors from 7.65.1Daniel Stenberg2019-06-041-0/+12
|
* ssl: Update outdated "openssl-only" comments for supported backendsFrank Gevaerts2019-06-042-13/+17
| | | | | | | These are for features that used to be openssl-only but were expanded over time to support other SSL backends. Closes #3985
* curl_share_setopt.3: improve wording [ci ship]Daniel Stenberg2019-06-041-3/+3
| | | | Reported-by: Carlos ORyan
* tool_parsecfg: Use correct return type for GetModuleFileName()Steve Holme2019-06-041-2/+3
| | | | | | | GetModuleFileName() returns a DWORD which is a typedef of an unsigned long and not an int. Closes #3980
* TODO: "at least N milliseconds between requests" [ci skip]Daniel Stenberg2019-06-031-5/+10
| | | | | Suggested-by: dkwolfe4 on github Closes #3920
* tests/server/.gitignore: Add socksd to the ignore listSteve Holme2019-06-021-0/+1
| | | | | | Missed in 04fd6755. Closes #3978
* tool_parsecfg: Fix control flow issue (DEADCODE)Steve Holme2019-06-021-7/+7
| | | | | | | Follow-up to 8144ba38. Detected by Coverity CID 1445663 Closes #3976
* NTLM: reset proxy "multipass" state when CONNECT request is doneSergey Ogryzkov2019-06-021-0/+1
| | | | Closes #3972
* test334: verify HTTP 204 response with chunked coding headerDaniel Stenberg2019-06-022-1/+45
| | | | | Verifies that a bodyless response don't parse this content-related header.
* http: don't parse body-related headers bodyless responsesMichael Kaufmann2019-06-023-13/+13
| | | | | | | | | | | | | | | | | | | Responses with status codes 1xx, 204 or 304 don't have a response body. For these, don't parse these headers: - Content-Encoding - Content-Length - Content-Range - Last-Modified - Transfer-Encoding This change ensures that HTTP/2 upgrades work even if a "Content-Length: 0" or a "Transfer-Encoding: chunked" header is present. Co-authored-by: Daniel Stenberg Closes #3702 Fixes #3968 Closes #3977
* tls13-docs: mention it is only for OpenSSL >= 1.1.1Daniel Stenberg2019-06-026-6/+23
| | | | | | | Reported-by: Jay Satiro Co-authored-by: Jay Satiro Fixes #3938 Closes #3946
* dump-header.d: spell out that no headers == empty file [ci skip]Daniel Stenberg2019-06-011-0/+2
| | | | | | Reported-by: wesinator at github Fixes #3964 Closes #3974
* singlesocket: use separate variable for inner loopDaniel Stenberg2019-06-011-4/+4
| | | | | | | | | | An inner loop within the singlesocket() function wrongly re-used the variable for the outer loop which then could cause an infinite loop. Change to using a separate variable! Reported-by: Eric Wu Fixes #3970 Closes #3973
* RELEASE-NOTES: syncedDaniel Stenberg2019-05-311-5/+33
|
* http2: Stop drain from being permanently set onJosie Huddleston2019-05-301-3/+4
| | | | | | | | | | | | | | | | | | Various functions called within Curl_http2_done() can have the side-effect of setting the Easy connection into drain mode (by calling drain_this()). However, the last time we unset this for a transfer (by calling drained_transfer()) is at the beginning of Curl_http2_done(). If the Curl_easy is reused for another transfer, it is then stuck in drain mode permanently, which in practice makes it unable to write any data in the new transfer. This fix moves the last call to drained_transfer() to later in Curl_http2_done(), after the functions that could potentially call for a drain. Fixes #3966 Closes #3967 Reported-by: Josie-H
* conncache: Remove the DEBUGASSERT on length checkSteve Holme2019-05-291-4/+4
| | | | | | We trust the calling code as this is an internal function. Closes #3962
* system_win32: fix function prototypeGisle Vanem2019-05-291-1/+1
| | | | | | | | - Change if_nametoindex parameter type from char * to const char *. Follow-up to 09eef8af from this morning. Bug: https://github.com/curl/curl/commit/09eef8af#r33716067
* appveyor: add Visual Studio solution buildMarcel Raad2019-05-291-1/+10
| | | | Closes https://github.com/curl/curl/pull/3941
* appveyor: add support for other build systemsMarcel Raad2019-05-291-14/+23
| | | | | | Introduce BUILD_SYSTEM variable, which is currently always CMake. Closes https://github.com/curl/curl/pull/3941
* url: Load if_nametoindex() dynamically from iphlpapi.dll on WindowsSteve Holme2019-05-294-30/+44
| | | | | | | | | | This fixes the static dependency on iphlpapi.lib and allows curl to build for targets prior to Windows Vista. This partially reverts 170bd047. Fixes #3960 Closes #3958
* http: fix "error: equality comparison with extraneous parentheses"Daniel Stenberg2019-05-291-1/+1
|
* parse_proxy: make sure portptr is initializedDaniel Stenberg2019-05-281-1/+1
| | | | | | Reported-by: Benbuck Nason fixes #3959
* url: default conn->port to the same as conn->remote_portDaniel Stenberg2019-05-282-3/+6
| | | | | | | | | | | | | | ... so that it has a sensible value when ConnectionExists() is called which needs it set to differentiate host "bundles" correctly on port number! Also, make conncache:hashkey() use correct port for bundles that are proxy vs host connections. Probably a regression from 7.62.0 Reported-by: Tom van der Woerdt Fixes #3956 Closes #3957
* conncache: make "bundles" per host name when doing proxy tunnelsDaniel Stenberg2019-05-283-17/+23
| | | | | | | | | Only HTTP proxy use where multiple host names can be used over the same connection should use the proxy host name for bundles. Reported-by: Tom van der Woerdt Fixes #3951 Closes #3955
* multi: track users of a socket betterDaniel Stenberg2019-05-282-12/+27
| | | | | | | | | | | | | | They need to be removed from the socket hash linked list with more care. When sh_delentry() is called to remove a sockethash entry, remove all individual transfers from the list first. To enable this, each Curl_easy struct now stores a pointer to the sockethash entry to know how to remove itself. Reported-by: Tom van der Woerdt and Kunal Ekawde Fixes #3952 Fixes #3904 Closes #3953
* curl-win32.h: Enable Unix Domain Sockets based on the Windows SDK versionSteve Holme2019-05-281-2/+6
| | | | | | | | | | Microsoft added support for Unix Domain Sockets in Windows 10 1803 (RS4). Rather than expect the user to enable Unix Domain Sockets by uncommenting the #define that was added in 0fd6221f we use the RS4 pre-processor variable that is present in newer versions of the Windows SDK. Closes #3939
* cmake: support CMAKE_OSX_ARCHITECTURES when detecting SIZEOF variablesJonas Vautherin2019-05-281-7/+16
| | | | Closes #3945
* HAProxy tests: add keywordsMarcel Raad2019-05-272-0/+4
| | | | | | | Add the proxy and haproxy keywords in order to be able to exclude or run these specific tests. Closes https://github.com/curl/curl/pull/3949
* tests: make test 1420 and 1406 work with rtsp-disabled libcurlMaksim Stsepanenka2019-05-272-2/+4
| | | | Closes #3948
* nss: allow to specify TLS 1.3 ciphers if supported by NSSHubert Kario2019-05-272-0/+11
| | | | Closes #3916
* RELEASE-NOTES: syncedDaniel Stenberg2019-05-261-7/+2
|
* Revert all SASL authzid (new feature) commitsJay Satiro2019-05-2531-763/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Revert all commits related to the SASL authzid feature since the next release will be a patch release, 7.65.1. Prior to this change CURLOPT_SASL_AUTHZID / --sasl-authzid was destined for the next release, assuming it would be a feature release 7.66.0. However instead the next release will be a patch release, 7.65.1 and will not contain any new features. After the patch release after the reverted commits can be restored by using cherry-pick: git cherry-pick a14d72c a9499ff 8c1cc36 c2a8d52 0edf690 Details for all reverted commits: Revert "os400: take care of CURLOPT_SASL_AUTHZID in curl_easy_setopt_ccsid()." This reverts commit 0edf6907ae37e2020722e6f61229d8ec64095b0a. Revert "tests: Fix the line endings for the SASL alt-auth tests" This reverts commit c2a8d52a1356a722ff9f4aeb983cd4eaf80ef221. Revert "examples: Added SASL PLAIN authorisation identity (authzid) examples" This reverts commit 8c1cc369d0c7163c6dcc91fd38edfea1f509ae75. Revert "curl: --sasl-authzid added to support CURLOPT_SASL_AUTHZID from the tool" This reverts commit a9499ff136d89987af885e2d7dff0a066a3e5817. Revert "sasl: Implement SASL authorisation identity via CURLOPT_SASL_AUTHZID" This reverts commit a14d72ca2fec5d4eb5a043936e4f7ce08015c177.
* FAQ: more minor updates and spelling fixesdbrowndan2019-05-251-16/+15
| | | | Closes #3937
* RELEASE-NOTES: syncedDaniel Stenberg2019-05-241-6/+38
|
* sectransp: handle errSSLPeerAuthCompleted from SSLRead()Daniel Stenberg2019-05-241-7/+20
| | | | | | Reported-by: smuellerDD on github Fixes #3932 Closes #3933
* Fix typo.Gisle Vanem2019-05-241-1/+1
|
* tool_setopt: for builds with disabled-proxy, skip all proxy setopts()Daniel Stenberg2019-05-232-19/+74
| | | | | | Reported-by: Marcel Raad Fixes #3926 Closes #3929
* winbuild: Use two space indentationSteve Holme2019-05-232-6/+7
| | | | Closes #3930
* tool_parse_cfg: Avoid 2 fopen() for WIN32Gisle Vanem2019-05-231-3/+4
| | | | | | | Using the memdebug.h mem-leak feature, I noticed 2 calls like: FILE tool_parsecfg.c:70 fopen("c:\Users\Gisle\AppData\Roaming\_curlrc","rt") FILE tool_parsecfg.c:114 fopen("c:\Users\Gisle\AppData\Roaming\_curlrc","rt") No need for 'fopen(), 'fclose()' and a 'fopen()' yet again.
* md4: include the mbedtls config.h to get the MD4 infoDaniel Stenberg2019-05-231-0/+3
|
* md4: build correctly with openssl without MD4Daniel Stenberg2019-05-231-0/+4
| | | | | | Reported-by: elsamuko at github Fixes #3921 Closes #3922
* os400: take care of CURLOPT_SASL_AUTHZID in curl_easy_setopt_ccsid().Patrick Monnerat2019-05-232-6/+3
|
* .github/FUNDING: mention our opencollective "home" [ci skip]Daniel Stenberg2019-05-231-0/+1
|