summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fixup conversion from 'curl_off_t' to 'long', possible loss of databagder/retry-afterDaniel Stenberg2019-08-071-5/+7
|
* curl: make use of CURLINFO_RETRY_AFTER when retryingDaniel Stenberg2019-08-062-1/+15
| | | | | | | If a Retry-After: header was used in the response, that value overrides other retry timing options. Closes #3794
* curl: use CURLINFO_PROTOCOL to check for HTTP(s)Daniel Stenberg2019-08-061-4/+3
| | | | ... instead of CURLINFO_EFFECTIVE_URL to avoid string operations.
* CURLINFO_RETRY_AFTER: parse the Retry-After header valueDaniel Stenberg2019-08-0614-6/+317
| | | | | | | | This is only the libcurl part that provides the information. There's no user of the parsed value. This change includes three new tests for the parser. Ref: #3794
* os400: take care of CURLOPT_SASL_AUTHZID in curl_easy_setopt_ccsid().Patrick Monnerat2019-08-062-6/+2
| | | | | | | | | | | | Ref: https://github.com/curl/curl/issues/3653 Ref: https://github.com/curl/curl/pull/3790 NOTE: This commit was cherry-picked and is part of a series of commits that added the authzid feature for upcoming 7.66.0. The series was temporarily reverted in db8ec1f so that it would not ship in a 7.65.x patch release. Closes https://github.com/curl/curl/pull/4186
* tests: Fix the line endings for the SASL alt-auth testsJay Satiro2019-08-066-44/+44
| | | | | | | | | | | | | | | | | | | - Change data and protocol sections to CRLF line endings. Prior to this change the tests would fail or hang, which is because certain sections such as protocol require CRLF line endings. Follow-up to grandparent commit which added the tests. Ref: https://github.com/curl/curl/issues/3653 Ref: https://github.com/curl/curl/pull/3790 NOTE: This commit was cherry-picked and is part of a series of commits that added the authzid feature for upcoming 7.66.0. The series was temporarily reverted in db8ec1f so that it would not ship in a 7.65.x patch release. Closes https://github.com/curl/curl/pull/4186
* examples: Added SASL PLAIN authorisation identity (authzid) examplesSteve Holme2019-08-064-2/+304
| | | | | | | | | | | | Ref: https://github.com/curl/curl/issues/3653 Ref: https://github.com/curl/curl/pull/3790 NOTE: This commit was cherry-picked and is part of a series of commits that added the authzid feature for upcoming 7.66.0. The series was temporarily reverted in db8ec1f so that it would not ship in a 7.65.x patch release. Closes https://github.com/curl/curl/pull/4186
* curl: --sasl-authzid added to support CURLOPT_SASL_AUTHZID from the toolSteve Holme2019-08-0614-4/+358
| | | | | | | | | | | | Ref: https://github.com/curl/curl/issues/3653 Ref: https://github.com/curl/curl/pull/3790 NOTE: This commit was cherry-picked and is part of a series of commits that added the authzid feature for upcoming 7.66.0. The series was temporarily reverted in db8ec1f so that it would not ship in a 7.65.x patch release. Closes https://github.com/curl/curl/pull/4186
* sasl: Implement SASL authorisation identity via CURLOPT_SASL_AUTHZIDSteve Holme2019-08-0612-5/+99
| | | | | | | | | | | | | | | | | Added the ability for the calling program to specify the authorisation identity (authzid), the identity to act as, in addition to the authentication identity (authcid) and password when using SASL PLAIN authentication. Fixes #3653 Closes #3790 NOTE: This commit was cherry-picked and is part of a series of commits that added the authzid feature for upcoming 7.66.0. The series was temporarily reverted in db8ec1f so that it would not ship in a 7.65.x patch release. Closes https://github.com/curl/curl/pull/4186
* docs/HTTP3: refreshed as it is now in master and HTTP/3 can be testedDaniel Stenberg2019-08-061-14/+14
|
* mesalink: implement client authenticationYiming Jing2019-08-061-13/+49
| | | | Closes #4184
* curl_multi_poll: a sister to curl_multi_wait() that waits moreDaniel Stenberg2019-08-069-80/+161
| | | | | | | | | | | | | | | | | | | | | | | | Repeatedly we see problems where using curl_multi_wait() is difficult or just awkward because if it has no file descriptor to wait for internally, it returns immediately and leaves it to the caller to wait for a small amount of time in order to avoid occasional busy-looping. This is often missed or misunderstood, leading to underperforming applications. This change introduces curl_multi_poll() as a replacement drop-in function that accepts the exact same set of arguments. This function works identically to curl_multi_wait() - EXCEPT - for the case when there's nothing to wait for internally, as then this function will by itself wait for a "suitable" short time before it returns. This effectiely avoids all risks of busy-looping and should also make it less likely that apps "over-wait". This also changes the curl tool to use this funtion internally when doing parallel transfers and changes curl_easy_perform() to use it internally. Closes #4163
* quiche:h3_stream_recv return 0 at end of streamDaniel Stenberg2019-08-061-4/+1
| | | | | ... and remove some verbose messages we don't need. Made transfers from facebook.com work better.
* altsvc: make quiche use h3-22 nowDaniel Stenberg2019-08-061-2/+2
|
* quiche: show the actual version numberDaniel Stenberg2019-08-061-1/+1
|
* quiche: first working HTTP/3 requestDaniel Stenberg2019-08-064-31/+89
| | | | | | | | | - enable debug log - fix use of quiche API - use download buffer - separate header/body Closes #4193
* http09: disable HTTP/0.9 by default in both tool and libraryDaniel Stenberg2019-08-0612-30/+59
| | | | | | | | As the plan has been laid out in DEPRECATED. Update docs accordingly and verify in test 1174. Now requires the option to be set to allow HTTP/0.9 responses. Closes #4191
* quiche: initial h3 request send/receiveDaniel Stenberg2019-08-053-24/+373
|
* lib/Makefile.am: make checksrc run in vquic tooDaniel Stenberg2019-08-051-1/+1
|
* altsvc: fix removal of expired cache entryDaniel Stenberg2019-08-051-0/+1
| | | | Closes #4192
* RELEASE-NOTES: syncedDaniel Stenberg2019-08-041-4/+33
|
* md4: Use our own MD4 implementation when no crypto libraries are availableSteve Holme2019-08-043-43/+11
| | | | Closes #3780
* md4: No need to include Curl_md4.h for each TLS librarySteve Holme2019-08-041-7/+1
|
* md4: No need for the NTLM code to call Curl_md4it() for each TLS librarySteve Holme2019-08-041-20/+7
| | | | | As the NTLM code no longer calls any of TLS libraries' specific MD4 functions, there is no need to call this function for each #ifdef.
* md4: Move the mbed TLS MD4 implementation out of the NTLM codeSteve Holme2019-08-043-21/+51
|
* md4: Move the WinCrypt implementation out of the NTLM codeSteve Holme2019-08-043-18/+58
|
* md4: Move the SecureTransport implementation out of the NTLM codeSteve Holme2019-08-043-5/+52
|
* md4: Use the Curl_md4it() function for OpenSSL based NTLMSteve Holme2019-08-043-26/+13
|
* md4: Move the GNU TLS gcrypt MD4 implementation out of the NTLM codeSteve Holme2019-08-043-11/+39
|
* md4: Move the GNU TLS Nettle MD4 implementation out of the NTLM codeSteve Holme2019-08-043-25/+80
|
* OS400: Add CURLOPT_H3 symbolsJay Satiro2019-08-042-0/+10
| | | | | | Follow-up to 3af0e76 which added experimental H3 support. Closes https://github.com/curl/curl/pull/4185
* url: make use of new HTTP version if alt-svc has oneDaniel Stenberg2019-08-031-2/+31
|
* url: set conn->transport to default TCP at init timeDaniel Stenberg2019-08-031-1/+1
|
* altsvc: with quiche, use the quiche h3 alpn stringDaniel Stenberg2019-08-031-0/+9
| | | | Closes #4183
* alt-svc: more liberal ALPN name parsingDaniel Stenberg2019-08-032-2/+2
| | | | | | | | | Allow pretty much anything to be part of the ALPN identifier. In particular minus, which is used for "h3-20" (in-progress HTTP/3 versions) etc. Updated test 356. Closes #4182
* quiche: use the proper HTTP/3 ALPNDaniel Stenberg2019-08-021-1/+5
|
* quiche: add failf() calls for two error casesDaniel Stenberg2019-08-021-2/+6
| | | | | | To aid debugging Closes #4181
* mailmap: added Kyohei KadotaDaniel Stenberg2019-08-021-0/+1
|
* http_negotiate: improve handling of gss_init_sec_context() failuresKamil Dudka2019-08-014-2/+99
| | | | | | | | | | | | | If HTTPAUTH_GSSNEGOTIATE was used for a POST request and gss_init_sec_context() failed, the POST request was sent with empty body. This commit also restores the original behavior of `curl --fail --negotiate`, which was changed by commit 6c6035532383e300c712e4c1cd9fdd749ed5cf59. Add regression tests 2077 and 2078 to cover this. Fixes #3992 Closes #4171
* mailmap: added 4 more namesDaniel Stenberg2019-08-011-0/+4
| | | | Evgeny Grin, Peter Pih, Anton Malov and Marquis de Muesli
* mailmap: add Giorgos OikonomouDaniel Stenberg2019-08-011-0/+1
|
* src/makefile: fix uncompressed hugehelp.c generationDaniel Stenberg2019-08-011-1/+1
| | | | | | | | Regression from 5cf5d57ab9 (7.64.1) Fixed-by: Lance Ware Fixes #4176 Closes #4177
* appveyor: pass on -k to makeDaniel Stenberg2019-08-011-1/+3
|
* timediff: make it 64 bit (if possible) even with 32 bit time_tDaniel Stenberg2019-08-0115-57/+53
| | | | | | | ... to make it hold microseconds too. Fixes #4165 Closes #4168
* ROADMAP: parallel transfers are merged nowDaniel Stenberg2019-07-311-10/+0
|
* getenv: support up to 4K environment variable contents on windowsDaniel Stenberg2019-07-311-2/+2
| | | | | | Reported-by: Michal Čaplygin Fixes #4174 Closes #4175
* plan9: add support for running on Plan 9lufia2019-07-3112-3/+524
| | | | Closes #3701
* ntlm: explicit type castinglufia2019-07-311-1/+1
|
* curl.h: fix outdated commentJustin2019-07-301-4/+1
| | | | Closes #4167
* curl: remove outdated commentDaniel Stenberg2019-07-301-6/+0
| | | | | | | | Turned bad with commit b8894085000 Reported-by: niallor on github Fixes #4172 Closes #4173