Daniel Stenberg
cee7639b79
quiche:h3_stream_recv return 0 at end of stream
...
... and remove some verbose messages we don't need. Made transfers from
facebook.com work better.
2019-08-06 08:06:58 +02:00
Daniel Stenberg
92dc514c5b
altsvc: make quiche use h3-22 now
2019-08-06 07:39:27 +02:00
Daniel Stenberg
e9bbc81299
quiche: show the actual version number
2019-08-06 07:39:27 +02:00
Daniel Stenberg
dc35631ef7
quiche: first working HTTP/3 request
...
- enable debug log
- fix use of quiche API
- use download buffer
- separate header/body
Closes #4193
2019-08-06 07:39:21 +02:00
Daniel Stenberg
a42b0957ab
http09: disable HTTP/0.9 by default in both tool and library
...
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
2019-08-06 00:08:14 +02:00
Daniel Stenberg
4173868f66
quiche: initial h3 request send/receive
2019-08-05 14:20:56 +02:00
Daniel Stenberg
47645f45da
lib/Makefile.am: make checksrc run in vquic too
2019-08-05 14:20:51 +02:00
Daniel Stenberg
182c272133
altsvc: fix removal of expired cache entry
...
Closes #4192
2019-08-05 14:18:46 +02:00
Daniel Stenberg
2f4e14e404
RELEASE-NOTES: synced
2019-08-04 23:03:57 +02:00
Steve Holme
850a295b41
md4: Use our own MD4 implementation when no crypto libraries are available
...
Closes #3780
2019-08-04 18:01:29 +01:00
Steve Holme
72e5fd83b2
md4: No need to include Curl_md4.h for each TLS library
2019-08-04 18:01:29 +01:00
Steve Holme
3d9685ee55
md4: No need for the NTLM code to call Curl_md4it() for each TLS library
...
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.
2019-08-04 18:01:28 +01:00
Steve Holme
2ff216f1b0
md4: Move the mbed TLS MD4 implementation out of the NTLM code
2019-08-04 18:01:28 +01:00
Steve Holme
c5eb2fd618
md4: Move the WinCrypt implementation out of the NTLM code
2019-08-04 18:01:27 +01:00
Steve Holme
11c50f7655
md4: Move the SecureTransport implementation out of the NTLM code
2019-08-04 18:01:27 +01:00
Steve Holme
24c298fb4d
md4: Use the Curl_md4it() function for OpenSSL based NTLM
2019-08-04 18:01:26 +01:00
Steve Holme
c89365929b
md4: Move the GNU TLS gcrypt MD4 implementation out of the NTLM code
2019-08-04 18:01:26 +01:00
Steve Holme
78e263676b
md4: Move the GNU TLS Nettle MD4 implementation out of the NTLM code
2019-08-04 18:01:25 +01:00
Jay Satiro
9a24f97711
OS400: Add CURLOPT_H3 symbols
...
Follow-up to 3af0e76
which added experimental H3 support.
Closes https://github.com/curl/curl/pull/4185
2019-08-04 11:04:51 -04:00
Daniel Stenberg
cc28a502bc
url: make use of new HTTP version if alt-svc has one
2019-08-03 21:55:51 +02:00
Daniel Stenberg
a9a2b26830
url: set conn->transport to default TCP at init time
2019-08-03 21:55:51 +02:00
Daniel Stenberg
0711153b46
altsvc: with quiche, use the quiche h3 alpn string
...
Closes #4183
2019-08-03 21:55:41 +02:00
Daniel Stenberg
1132f43012
alt-svc: more liberal ALPN name parsing
...
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
2019-08-03 21:54:00 +02:00
Daniel Stenberg
decefd5778
quiche: use the proper HTTP/3 ALPN
2019-08-02 13:52:14 +02:00
Daniel Stenberg
fc5b61baf0
quiche: add failf() calls for two error cases
...
To aid debugging
Closes #4181
2019-08-02 13:52:07 +02:00
Daniel Stenberg
35116a8302
mailmap: added Kyohei Kadota
2019-08-02 07:56:07 +02:00
Kamil Dudka
4c187043c5
http_negotiate: improve handling of gss_init_sec_context() failures
...
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 6c60355323
.
Add regression tests 2077 and 2078 to cover this.
Fixes #3992
Closes #4171
2019-08-01 16:21:41 +02:00
Daniel Stenberg
cd8068ed4c
mailmap: added 4 more names
...
Evgeny Grin, Peter Pih, Anton Malov and Marquis de Muesli
2019-08-01 09:25:54 +02:00
Daniel Stenberg
b2ebf7a621
mailmap: add Giorgos Oikonomou
2019-08-01 09:07:30 +02:00
Daniel Stenberg
cf5aa92043
src/makefile: fix uncompressed hugehelp.c generation
...
Regression from 5cf5d57ab9
(7.64.1)
Fixed-by: Lance Ware
Fixes #4176
Closes #4177
2019-08-01 07:46:09 +02:00
Daniel Stenberg
6ed3d9ed5c
appveyor: pass on -k to make
2019-08-01 07:43:24 +02:00
Daniel Stenberg
b1616dad8f
timediff: make it 64 bit (if possible) even with 32 bit time_t
...
... to make it hold microseconds too.
Fixes #4165
Closes #4168
2019-08-01 07:43:24 +02:00
Daniel Stenberg
7c14dde924
ROADMAP: parallel transfers are merged now
2019-07-31 16:47:23 +02:00
Daniel Stenberg
b7d1264647
getenv: support up to 4K environment variable contents on windows
...
Reported-by: Michal Čaplygin
Fixes #4174
Closes #4175
2019-07-31 08:20:59 +02:00
lufia
84aba180e2
plan9: add support for running on Plan 9
...
Closes #3701
2019-07-31 00:23:25 +02:00
lufia
6cd5c35509
ntlm: explicit type casting
2019-07-31 00:22:16 +02:00
Justin
d414f6bf08
curl.h: fix outdated comment
...
Closes #4167
2019-07-30 23:31:52 +02:00
Daniel Stenberg
62aa0ba91a
curl: remove outdated comment
...
Turned bad with commit b889408500
Reported-by: niallor on github
Fixes #4172
Closes #4173
2019-07-30 23:19:03 +02:00
Daniel Stenberg
a55faf33d4
cleanup: remove the 'numsocks' argument used in many places
...
It was used (intended) to pass in the size of the 'socks' array that is
also passed to these functions, but was rarely actually checked/used and
the array is defined to a fixed size of MAX_SOCKSPEREASYHANDLE entries
that should be used instead.
Closes #4169
2019-07-30 23:16:44 +02:00
Daniel Stenberg
cb542ac4d0
readwrite_data: repair setting the TIMER_STARTTRANSFER stamp
...
Regression, broken in commit 65eb65fde6
(curl 7.64.1)
Reported-by: Jonathan Cardoso Machado
Assisted-by: Jay Satiro
Fixes #4136
Closes #4162
2019-07-30 23:07:56 +02:00
Daniel Stenberg
cb46b193f1
mailmap: Amit Katyal
2019-07-30 12:51:55 +02:00
Daniel Stenberg
041690aadb
asyn-thread: removed unused variable
...
Follow-up to eb9a604f
. Mistake caused by me when I edited the commit
before push...
2019-07-30 10:29:54 +02:00
Daniel Stenberg
964bcfe861
RELEASE-NOTES: synced
2019-07-30 09:28:44 +02:00
amkatyal
eb9a604f8d
asyn-thread: create a socketpair to wait on
...
Closes #4157
2019-07-30 08:27:30 +02:00
Daniel Stenberg
db0a0dfb0e
curl: cap the maximum allowed values for retry time arguments
...
... to avoid integer overflows later when multiplying with 1000 to
convert seconds to milliseconds.
Added test 1269 to verify.
Reported-by: Jason Lee
Closes #4166
2019-07-30 08:17:01 +02:00
Daniel Stenberg
d23e87d551
progress: reset download/uploaded counter
...
... to make CURLOPT_MAX_RECV_SPEED_LARGE and
CURLOPT_MAX_SEND_SPEED_LARGE work correctly on subsequent transfers that
reuse the same handle.
Fixed-by: Ironbars13 on github
Fixes #4084
Closes #4161
2019-07-29 22:31:30 +02:00
Daniel Stenberg
fc6045f5d1
http2_recv: trigger another read when the last data is returned
...
... so that end-of-stream is detected properly.
Reported-by: Tom van der Woerdt
Fixes #4043
Closes #4160
2019-07-29 22:16:27 +02:00
Daniel Stenberg
a2ab576768
curl: avoid uncessary libcurl timeouts (in parallel mode)
...
When curl_multi_wait() returns OK without file descriptors to wait for,
it might already have done a long timeout.
Closes #4159
2019-07-29 14:57:57 +02:00
Balazs Kovacsics
802aa5ae27
HTTP: use chunked Transfer-Encoding for HTTP_POST if size unknown
...
If using the read callback for HTTP_POST, and POSTFIELDSIZE is not set,
automatically add a Transfer-Encoding: chunked header, same as it is
already done for HTTP_PUT, HTTP_POST_FORM and HTTP_POST_MIME. Update
test 1514 according to the new behaviour.
Closes #4138
2019-07-29 13:18:53 +02:00
Daniel Stenberg
9736ac03ab
winbuild: add vquic to list of build directories
...
This fixes the winbuild build method which broke several days ago
when experimental quic support was added in 3af0e76
.
Reported-by: Michael Lee
Fixes https://github.com/curl/curl/issues/4158
2019-07-29 01:49:53 -04:00