Loading lib/transfer.c +14 −12 Original line number Diff line number Diff line Loading @@ -111,7 +111,7 @@ #ifndef CURL_DISABLE_HTTP static CURLcode readwrite_headers(struct SessionHandle *data, static CURLcode readwrite_http_headers(struct SessionHandle *data, struct connectdata *conn, struct SingleRequest *k, ssize_t *nread, Loading Loading @@ -197,6 +197,7 @@ CURLcode Curl_fillreadbuffer(struct connectdata *conn, int bytes, int *nreadp) return CURLE_OK; } #ifndef CURL_DISABLE_HTTP /* * checkhttpprefix() * Loading Loading @@ -241,6 +242,7 @@ checkhttpprefix(struct SessionHandle *data, #endif /* CURL_DOES_CONVERSIONS */ return rc; } #endif /* CURL_DISABLE_HTTP */ /* * Curl_readrewind() rewinds the read stream. This is typically used for HTTP Loading Loading @@ -432,7 +434,7 @@ static CURLcode readwrite_data(struct SessionHandle *data, if(k->header) { /* we are in parse-the-header-mode */ bool stop_reading = FALSE; result = readwrite_headers(data, conn, k, &nread, &stop_reading); result = readwrite_http_headers(data, conn, k, &nread, &stop_reading); if(result) return result; if(stop_reading) Loading Loading @@ -679,9 +681,9 @@ static CURLcode readwrite_data(struct SessionHandle *data, #ifndef CURL_DISABLE_HTTP /* * Read any header lines from the server and pass them to the client app. * Read any HTTP header lines from the server and pass them to the client app. */ static CURLcode readwrite_headers(struct SessionHandle *data, static CURLcode readwrite_http_headers(struct SessionHandle *data, struct connectdata *conn, struct SingleRequest *k, ssize_t *nread, Loading Loading
lib/transfer.c +14 −12 Original line number Diff line number Diff line Loading @@ -111,7 +111,7 @@ #ifndef CURL_DISABLE_HTTP static CURLcode readwrite_headers(struct SessionHandle *data, static CURLcode readwrite_http_headers(struct SessionHandle *data, struct connectdata *conn, struct SingleRequest *k, ssize_t *nread, Loading Loading @@ -197,6 +197,7 @@ CURLcode Curl_fillreadbuffer(struct connectdata *conn, int bytes, int *nreadp) return CURLE_OK; } #ifndef CURL_DISABLE_HTTP /* * checkhttpprefix() * Loading Loading @@ -241,6 +242,7 @@ checkhttpprefix(struct SessionHandle *data, #endif /* CURL_DOES_CONVERSIONS */ return rc; } #endif /* CURL_DISABLE_HTTP */ /* * Curl_readrewind() rewinds the read stream. This is typically used for HTTP Loading Loading @@ -432,7 +434,7 @@ static CURLcode readwrite_data(struct SessionHandle *data, if(k->header) { /* we are in parse-the-header-mode */ bool stop_reading = FALSE; result = readwrite_headers(data, conn, k, &nread, &stop_reading); result = readwrite_http_headers(data, conn, k, &nread, &stop_reading); if(result) return result; if(stop_reading) Loading Loading @@ -679,9 +681,9 @@ static CURLcode readwrite_data(struct SessionHandle *data, #ifndef CURL_DISABLE_HTTP /* * Read any header lines from the server and pass them to the client app. * Read any HTTP header lines from the server and pass them to the client app. */ static CURLcode readwrite_headers(struct SessionHandle *data, static CURLcode readwrite_http_headers(struct SessionHandle *data, struct connectdata *conn, struct SingleRequest *k, ssize_t *nread, Loading