mirror of
https://github.com/curl/curl.git
synced 2026-08-26 01:43:37 +03:00
http2: detect prematures close without data transfered
... by using the regular Curl_http_done() method which checks for that. This makes test 1801 fail consistently with error 56 (which seems fine) to that test is also updated here. Reported-by: Ben Darnell Bug: https://github.com/bagder/curl/issues/166
This commit is contained in:
parent
0911b96399
commit
0cf649d9cc
2 changed files with 6 additions and 2 deletions
|
|
@ -102,7 +102,7 @@ const struct Curl_handler Curl_handler_http2 = {
|
|||
"HTTP2", /* scheme */
|
||||
ZERO_NULL, /* setup_connection */
|
||||
Curl_http, /* do_it */
|
||||
ZERO_NULL, /* done */
|
||||
Curl_http_done, /* done */
|
||||
ZERO_NULL, /* do_more */
|
||||
ZERO_NULL, /* connect_it */
|
||||
ZERO_NULL, /* connecting */
|
||||
|
|
@ -122,7 +122,7 @@ const struct Curl_handler Curl_handler_http2_ssl = {
|
|||
"HTTP2", /* scheme */
|
||||
ZERO_NULL, /* setup_connection */
|
||||
Curl_http, /* do_it */
|
||||
ZERO_NULL, /* done */
|
||||
Curl_http_done, /* done */
|
||||
ZERO_NULL, /* do_more */
|
||||
ZERO_NULL, /* connect_it */
|
||||
ZERO_NULL, /* connecting */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue