diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-06-08 23:30:57 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-06-10 08:42:27 +0200 |
commit | c214a6a17b2b6f6e4720c40cec9a061b8504daf0 (patch) | |
tree | 3871e7f35065d7e2870829e6ce3678c1fba3ba57 /lib/urldata.h | |
parent | aeb064db032f7663e9d98b78b85e4bbfbae8b045 (diff) | |
download | curl-c214a6a17b2b6f6e4720c40cec9a061b8504daf0.tar.gz |
c-hyper: abort CONNECT response reading early on non 2xx responses
Fixes test 493
Closes #7209
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index fb905c36c..075f1848f 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -1411,6 +1411,7 @@ struct UrlState { trailers_state trailers_state; /* whether we are sending trailers and what stage are we at */ #ifdef USE_HYPER + bool hconnect; /* set if a CONNECT request */ CURLcode hresult; /* used to pass return codes back from hyper callbacks */ #endif |