mirror of
https://github.com/curl/curl.git
synced 2026-08-25 21:53:32 +03:00
parent
3be0c67379
commit
07535a4f87
1 changed files with 2 additions and 0 deletions
|
|
@ -586,6 +586,7 @@ static CURLcode chop_write(struct Curl_easy *data,
|
|||
len -= chunklen;
|
||||
}
|
||||
|
||||
#ifndef CURL_DISABLE_HTTP
|
||||
/* HTTP header, but not status-line */
|
||||
if((conn->handler->protocol & PROTO_FAMILY_HTTP) &&
|
||||
(type & CLIENTWRITE_HEADER) && !(type & CLIENTWRITE_STATUS) ) {
|
||||
|
|
@ -598,6 +599,7 @@ static CURLcode chop_write(struct Curl_easy *data,
|
|||
if(result)
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
if(writeheader) {
|
||||
size_t wrote;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue