diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-04-19 20:03:30 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-04-20 22:19:23 +0200 |
commit | d122df5972fc01e39ae28e6bca705237d7e3318a (patch) | |
tree | d9e4fb9758169cf53c59789635dcd5640657b4bb /lib/urldata.h | |
parent | 7645c6bd5ea6c337414a264b37f50995b0f9e7d2 (diff) | |
download | curl-d122df5972fc01e39ae28e6bca705237d7e3318a.tar.gz |
http2: handle GOAWAY properly
When receiving REFUSED_STREAM, mark the connection for close and retry
streams accordingly on another/fresh connection.
Reported-by: Terry Wu
Fixes #2416
Fixes #1618
Closes #2510
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index d439dc3d6..db8113937 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -1226,7 +1226,7 @@ struct UrlState { curl_off_t current_speed; /* the ProgressShow() function sets this, bytes / second */ bool this_is_a_follow; /* this is a followed Location: request */ - + bool refused_stream; /* this was refused, try again */ char *first_host; /* host name of the first (not followed) request. if set, this should be the host name that we will sent authorization to, no else. Used to make Location: |