aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-04-10 20:46:40 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-04-10 20:46:40 +0000
commit5daa6b93679b1e9a630975fef66191ae3bc71ab1 (patch)
treebbc239bcaf2e18674ad5628f945412c5bb08bcab /lib/http.c
parenta7aca2e8af9641f3ce580c69fa5d1f9bd8bba743 (diff)
Ravi Pratap provided fixes for HTTP pipelining
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http.c b/lib/http.c
index 8e4d322af..c412df5bb 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -1630,8 +1630,8 @@ CURLcode Curl_http_done(struct connectdata *conn,
if(!conn->bits.retry &&
((http->readbytecount +
- conn->headerbytecount -
- conn->deductheadercount)) <= 0) {
+ data->reqdata.keep.headerbytecount -
+ data->reqdata.keep.deductheadercount)) <= 0) {
/* If this connection isn't simply closed to be retried, AND nothing was
read from the HTTP server (that counts), this can't be right so we
return an error here */