summaryrefslogtreecommitdiff
path: root/lib/http_chunks.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-01-31 12:04:33 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-01-31 12:04:33 +0000
commitb620e62f0f4e90f4d1338117c67580a6f5f37377 (patch)
tree75b747c8facdd1b70656dbab4550cad324e95b19 /lib/http_chunks.c
parentb3186dee177d277094111939ea9d192e278ea71c (diff)
downloadcurl-b620e62f0f4e90f4d1338117c67580a6f5f37377.tar.gz
- Dmitry Kurochkin moved several struct fields from the connectdata struct to
the SingleRequest one to make pipelining better. It is a bit tricky to keep them in the right place, to keep things related to the actual request or to the actual connection in the right place.
Diffstat (limited to 'lib/http_chunks.c')
-rw-r--r--lib/http_chunks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http_chunks.c b/lib/http_chunks.c
index d76586cb2..ad9783404 100644
--- a/lib/http_chunks.c
+++ b/lib/http_chunks.c
@@ -181,7 +181,7 @@ CHUNKcode Curl_httpchunk_read(struct connectdata *conn,
if(*datap == 0x0a) {
/* we're now expecting data to come, unless size was zero! */
if(0 == ch->datasize) {
- if(conn->bits.trailerhdrpresent!=TRUE) {
+ if(k->trailerhdrpresent!=TRUE) {
/* No Trailer: header found - revert to original Curl processing */
ch->state = CHUNK_STOPCR;