1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00
This commit is contained in:
Gisle Vanem 2011-03-29 13:08:01 +02:00 committed by Daniel Stenberg
parent 2a0c7ea4cc
commit f1c6cd42f4

View File

@ -125,7 +125,7 @@ CURLcode Curl_fillreadbuffer(struct connectdata *conn, int bytes, int *nreadp)
#ifdef CURL_DOES_CONVERSIONS
bool sending_http_headers = FALSE;
if((conn->protocol&(CURLPROTO_HTTP|CURLPROTO_RTSP)) &&
if((conn->handler->protocol&(CURLPROTO_HTTP|CURLPROTO_RTSP)) &&
(data->state.proto.http->sending == HTTPSEND_REQUEST)) {
/* We're sending the HTTP request headers, not the data.
Remember that so we don't re-translate them into garbage. */