mirror of
https://github.com/curl/curl.git
synced 2026-08-24 12:33:37 +03:00
http2: make sure stream errors don't needlessly close the connection
With HTTP/2 each transfer is made in an indivial logical stream over the connection, making most previous errors that caused the connection to get forced-closed now instead just kill the stream and not the connection. Fixes #941
This commit is contained in:
parent
a6ddd6555e
commit
3533def3d5
11 changed files with 152 additions and 88 deletions
|
|
@ -32,8 +32,8 @@ ftp://%HOSTIP:%FTPPORT/161
|
|||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
# This gets QUIT sent because CURLE_PARTIAL_FILE does NOT mark the control
|
||||
# connection as bad
|
||||
# This doesn't send QUIT because of known bug:
|
||||
# "7.8 Premature transfer end but healthy control channel"
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
|
|
@ -42,7 +42,6 @@ EPSV
|
|||
TYPE I
|
||||
SIZE 161
|
||||
RETR 161
|
||||
QUIT
|
||||
</protocol>
|
||||
# CURLE_PARTIAL_FILE = 18
|
||||
<errorcode>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue