mirror of
https://github.com/curl/curl.git
synced 2025-03-01 15:15:34 +08:00
parent
8ed97ad2bd
commit
8c859cdb69
@ -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…
Reference in New Issue
Block a user