1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 17:31:46 -05:00
Johannes Schindelin d997aa0e96
Upon HTTP_1_1_REQUIRED, retry the request with HTTP/1.1
This is a companion patch to cbea2fd2c (NTLM: force the connection to
HTTP/1.1, 2018-12-06): with NTLM, we can switch to HTTP/1.1
preemptively. However, with other (Negotiate) authentication it is not
clear to this developer whether there is a way to make it work with
HTTP/2, so let's try HTTP/2 first and fall back in case we encounter the
error HTTP_1_1_REQUIRED.

Note: we will still keep the NTLM workaround, as it avoids an extra
round trip.

Daniel Stenberg helped a lot with this patch, in particular by
suggesting to introduce the Curl_h2_http_1_1_error() function.

Closes #3349

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2018-12-08 10:59:23 +01:00
..
2016-10-18 13:59:54 +02:00
2018-09-23 22:24:02 +00:00
2018-12-03 23:13:40 +01:00
2018-09-23 22:24:02 +00:00
2018-01-05 23:34:30 -05:00
2018-10-19 09:23:14 +02:00
2018-06-03 12:14:45 +00:00
2018-09-23 22:24:02 +00:00
2017-03-26 23:56:23 +02:00
2018-10-26 00:04:02 +02:00
2018-06-11 11:14:48 +02:00
2018-09-23 22:24:02 +00:00
2018-11-01 10:29:53 +01:00
2018-09-22 11:58:10 +02:00
2018-12-06 09:52:38 +01:00
2018-11-25 11:25:43 +01:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-09-22 11:58:10 +02:00
2018-06-11 11:14:48 +02:00
2017-04-22 11:25:27 +02:00
2018-09-06 09:17:17 +02:00
2018-11-01 10:29:53 +01:00
2018-09-23 22:24:02 +00:00
2018-09-06 09:17:17 +02:00
2018-09-23 22:24:02 +00:00
2016-12-21 11:07:26 +01:00
2018-12-07 13:03:21 +01:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-11-01 10:29:53 +01:00
2018-09-23 22:24:02 +00:00
2018-12-03 23:13:40 +01:00
2018-11-01 10:29:53 +01:00
2018-06-27 13:49:18 +02:00
2018-07-28 22:36:15 +02:00
2018-02-23 23:29:01 +00:00
2017-09-02 17:47:10 +01:00
2018-09-23 22:24:02 +00:00
2018-02-23 23:29:01 +00:00
2018-03-19 19:22:42 +01:00
2018-09-23 22:24:02 +00:00
2017-10-25 18:48:05 +02:00
2018-07-20 22:58:42 +02:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-06-11 11:14:48 +02:00
2018-09-23 22:24:02 +00:00
2018-11-09 15:47:28 +01:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-09-22 11:58:10 +02:00
2018-07-30 17:59:36 +02:00
2018-09-22 11:58:10 +02:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-09-01 10:40:42 +02:00
2018-08-21 18:53:43 +02:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00