mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
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
This commit is contained in:
parent
2d5b8048a5
commit
b67dcc8ed7
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user