summaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-06-08 23:30:57 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-06-10 08:42:27 +0200
commitc214a6a17b2b6f6e4720c40cec9a061b8504daf0 (patch)
tree3871e7f35065d7e2870829e6ce3678c1fba3ba57 /lib/urldata.h
parentaeb064db032f7663e9d98b78b85e4bbfbae8b045 (diff)
downloadcurl-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.h1
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