diff options
author | Daniel Stenberg <daniel@haxx.se> | 2022-05-25 13:06:29 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-05-25 13:07:12 +0200 |
commit | b67dcc8ed717d2de8555f027e2148bb4f2e5efce (patch) | |
tree | dcd723a1a44af05643ce5590be268ee08e54c144 /lib/c-hyper.c | |
parent | 2d5b8048a59aa7889cfd180d0ac06fc5bfbb113b (diff) | |
download | curl-b67dcc8ed717d2de8555f027e2148bb4f2e5efce.tar.gz |
c-hyper: mark status line as status for Curl_client_write()
To make sure the headers API can filter it out as not a regular header.
Reported-by: Gisle Vanem
Fixes #8894
Closes #8914
Diffstat (limited to 'lib/c-hyper.c')
-rw-r--r-- | lib/c-hyper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/c-hyper.c b/lib/c-hyper.c index 9ea2e883b..ec2e15d53 100644 --- a/lib/c-hyper.c +++ b/lib/c-hyper.c @@ -288,7 +288,7 @@ static CURLcode status_line(struct Curl_easy *data, len); if(!data->state.hconnect || !data->set.suppress_connect_headers) { - writetype = CLIENTWRITE_HEADER; + writetype = CLIENTWRITE_HEADER|CLIENTWRITE_STATUS; if(data->set.include_header) writetype |= CLIENTWRITE_BODY; result = Curl_client_write(data, writetype, |