mirror of
https://github.com/curl/curl.git
synced 2026-08-06 23:46:16 +03:00
parent
8ed97ad2bd
commit
8c859cdb69
2 changed files with 4 additions and 2 deletions
|
|
@ -163,6 +163,10 @@ static int hyper_each_header(void *userdata,
|
|||
writetype = CLIENTWRITE_HEADER;
|
||||
if(data->set.include_header)
|
||||
writetype |= CLIENTWRITE_BODY;
|
||||
if(data->state.hconnect)
|
||||
writetype |= CLIENTWRITE_CONNECT;
|
||||
if(data->req.httpcode/100 == 1)
|
||||
writetype |= CLIENTWRITE_1XX;
|
||||
result = Curl_client_write(data, writetype, headp, len);
|
||||
if(result) {
|
||||
data->state.hresult = CURLE_ABORTED_BY_CALLBACK;
|
||||
|
|
|
|||
|
|
@ -76,8 +76,6 @@
|
|||
1533
|
||||
1540
|
||||
1591
|
||||
1941
|
||||
1942
|
||||
1943
|
||||
2301
|
||||
2302
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue