summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* defines: avoid underscore-prefixed definesbagder/no-underscore-definesDaniel Stenberg2019-08-2213-332/+332
| | | | | | | | | Double-underscored or underscore plus uppercase letter at least. ... as they're claimed to be reserved. Fixes #4254 Closes #4255
* travis: add a build using ngtcp2 + nghttp3 (and a patched OpenSSL)Daniel Stenberg2019-08-221-0/+36
| | | | | | Runs no tests Closes #4253
* travis: bump to using nghttp2 version 1.39.2Daniel Stenberg2019-08-211-5/+5
| | | | Closes #4252
* docs/examples/curlx: fix errorsGisle Vanem2019-08-211-3/+3
| | | | | | Initialise 'mimetype' and require the -p12 arg. Closes #4248
* cleanup: remove DOT_CHAR completelyDaniel Stenberg2019-08-203-12/+2
| | | | | | | | | | | | Follow-up to f9c7ba9096ec The use of DOT_CHAR for ".ssh" was probably a mistake and is removed now. Pointed-out-by: Gisle Vanem Bug: https://github.com/curl/curl/pull/4230#issuecomment-522960638 Closes #4247
* spnego_sspi: add typecast to fix build warningDaniel Stenberg2019-08-201-2/+2
| | | | | | | Reported in build "Win32 target on Debian Stretch (64-bit) - i686-w64-mingw32 - gcc-20170516" Closes #4245
* openssl: build warning free with boringsslDaniel Stenberg2019-08-202-6/+28
| | | | Closes #4244
* curl: make --libcurl use CURL_HTTP_VERSION_3Daniel Stenberg2019-08-201-0/+1
| | | | Closes #4243
* ngtcp2: make postfields-set posts workDaniel Stenberg2019-08-201-14/+33
| | | | Closes #4242
* http: remove chunked-encoding and expect header use for HTTP/3Daniel Stenberg2019-08-201-4/+5
|
* configure: use pkg-config to detect quicheAlessandro Ghedini2019-08-203-36/+60
| | | | | | | | | This removes the need to hard-code the quiche target path in configure.ac. This depends on https://github.com/cloudflare/quiche/pull/128 Closes #4237
* CURLOPT_SSL_VERIFYHOST: treat the value 1 as 2Daniel Stenberg2019-08-203-30/+25
| | | | | | | | For a long time (since 7.28.1) we've returned error when setting the value to 1 to make applications notice that we stopped supported the old behavior for 1. Starting now, we treat 1 and 2 exactly the same. Closes #4241
* curl: use .curlrc (with a dot) on Windows as wellDaniel Stenberg2019-08-202-52/+67
| | | | | | | | Fall-back to _curlrc if the dot-version is missing. Co-Authored-By: Steve Holme Closes #4230
* netrc: make the code try ".netrc" on Windows as wellDaniel Stenberg2019-08-201-59/+87
| | | | | | ... but fall back and try "_netrc" too if the dot version didn't work. Co-Authored-By: Steve Holme
* ngtcp2: use ngtcp2_version() to get the run-time versionDaniel Stenberg2019-08-201-1/+2
| | | | | | ... which of course doesn't have to be the same used at build-time. Function just recently merged in ngtcp2.
* ngtcp2: move the h3 initing to immediately after the rx keyDaniel Stenberg2019-08-201-6/+5
| | | | | | To fix a segfault and to better deal with 0-RTT Assisted-by: Tatsuhiro Tsujikawa
* quiche: register debug callback once and earlierAlessandro Ghedini2019-08-171-12/+18
| | | | | | | | | | | The quiche debug callback is global and can only be initialized once, so make sure we don't do it multiple times (e.g. if multiple requests are executed). In addition this initializes the callback before the connection is created, so we get logs for the handshake as well. Closes #4236
* ssh: add a generic Curl_ssh_version function for SSH backendsDaniel Stenberg2019-08-174-26/+23
| | | | Closes #4235
* base64: check for SSH, not specific SSH backendsDaniel Stenberg2019-08-171-2/+2
|
* vssh: move ssh init/cleanup functions into backend codeDaniel Stenberg2019-08-174-18/+41
|
* vssh: create directory for SSH backend codeDaniel Stenberg2019-08-174-3/+5
|
* TODO/ROADMAP: remove "refuse downgrade redirects" and HTTP/3Daniel Stenberg2019-08-162-18/+0
| | | | | | | HTTP3 is now already in full progress Downgrade redirects can be achived almost exactly like that by setting CURLOPT_REDIR_PROTOCOLS.
* RELEASE-NOTES: syncedDaniel Stenberg2019-08-161-12/+32
|
* travis: add a quiche buildDaniel Stenberg2019-08-161-2/+29
| | | | Closes #4207
* http: fix use of credentials from URL when using HTTP proxyDaniel Stenberg2019-08-165-13/+117
| | | | | | | | | | | | | | | | When a username and password are provided in the URL, they were wrongly removed from the stored URL so that subsequent uses of the same URL wouldn't find the crendentials. This made doing HTTP auth with multiple connections (like Digest) mishave. Regression from 46e164069d1a5230 (7.62.0) Test case 335 added to verify. Reported-by: Mike Crowe Fixes #4228 Closes #4229
* tests: Replace outdated test case numbering documentationMike Crowe2019-08-151-21/+6
| | | | | | | | | Tests are no longer grouped by numeric range[1]. Let's stop saying that and provide some alternative advice for numbering tests. [1] https://curl.haxx.se/mail/lib-2019-08/0043.html Closes #4227
* travis: reduce number of torture tests in 'coverage'Daniel Stenberg2019-08-151-1/+1
| | | | | | | | ... to make it complete in time. This cut seems not almost not affect the coverage percentage and yet completes within 35 minutes on travis where the previous runs recently always timed out after 50. Closes #4223
* configure: use -lquiche to link to quicheIgor Makarov2019-08-151-1/+1
| | | | Closes #4226
* ngtcp2: provide the callbacks as a static structDaniel Stenberg2019-08-152-32/+33
| | | | ... instead of having them in quicsocket
* ngtcp2: add missing nghttp3_conn_add_write_offset callTatsuhiro Tsujikawa2019-08-151-0/+9
| | | | Closes #4225
* ngtcp2: deal with stream closeTatsuhiro Tsujikawa2019-08-151-1/+10
|
* ngtcp2: Consume QUIC STREAM data properlyTatsuhiro Tsujikawa2019-08-151-8/+13
|
* ngtcp2: don't reinitialize SSL on RetryTatsuhiro Tsujikawa2019-08-151-1/+0
|
* multi: getsock improvements for QUIC connectingDaniel Stenberg2019-08-141-1/+7
|
* connect: connections are persistent by default for HTTP/3Daniel Stenberg2019-08-141-0/+3
|
* quiche: happy eyeballsDaniel Stenberg2019-08-141-31/+42
| | | | Closes #4220
* ngtcp2: do QUIC connections happy-eyeballs friendlyDaniel Stenberg2019-08-146-230/+262
|
* curl_version: bump string buffer size to 250Daniel Stenberg2019-08-141-1/+1
| | | | | With HTTP/3 libs and plenty TLS libs, I manged to hit the limit (which causes a truncated output).
* CURLOPT_ALTSVC.3: use a "" file name to not load from a fileDaniel Stenberg2019-08-141-0/+2
|
* vauth: Use CURLE_AUTH_ERROR for auth function errorsJay Satiro2019-08-1411-18/+62
| | | | | | | | | | | | | | - Add new error code CURLE_AUTH_ERROR. Prior to this change auth function errors were signaled by CURLE_OUT_OF_MEMORY and CURLE_RECV_ERROR, and neither one was technically correct. Ref: https://github.com/curl/curl/pull/3848 Co-authored-by: Dominik Hölzl Closes https://github.com/curl/curl/pull/3864
* curl_version_info: make the quic_version a constDaniel Stenberg2019-08-132-2/+2
| | | | | | Follow-up from 1a2df1518ad8653f Closes #4222
* examples: add http3.c, altsvc.c and http3-present.cDaniel Stenberg2019-08-134-1/+159
| | | | Closes #4221
* nss: use TLSv1.3 as default if supportedPeter Wu2019-08-131-10/+6
| | | | | | | | | | | | SSL_VersionRangeGetDefault returns (TLSv1.0, TLSv1.2) as supported range in NSS 3.45. It looks like the intention is to raise the minimum version rather than lowering the maximum, so adjust accordingly. Note that the caller (nss_setup_connect) initializes the version range to (TLSv1.0, TLSv1.3), so there is no need to check for >= TLSv1.0 again. Closes #4187 Reviewed-by: Daniel Stenberg Reviewed-by: Kamil Dudka
* quic.h: remove unused protoDaniel Stenberg2019-08-131-6/+0
|
* curl_version_info.3: mentioned ALTSVC and HTTP3Daniel Stenberg2019-08-131-45/+49
| | | | ... and sorted the list alphabetically
* lib/quic.c: unused - removedDaniel Stenberg2019-08-132-39/+1
|
* CURLOPT_ALTSVC_CTRL.3: remove CURLALTSVC_ALTUSEDDaniel Stenberg2019-08-131-5/+2
| | | | Follow-up to 98c3f148 that removed it from the header file
* docs/HTTP3: simplify quiche build instructionJunho Choi2019-08-121-6/+2
| | | | | | Use --recursive to get boringssl in one line Closes #4219
* altsvc: make it use h3-22 with ngtcp2 as wellDaniel Stenberg2019-08-121-2/+2
|
* ngtcp2: initial h3 request workDaniel Stenberg2019-08-122-24/+116
| | | | Closes #4217