diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-10-02 10:21:36 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-10-02 10:21:36 +0000 |
commit | 119364741ef2ca0931c0ceaa6f92cb476457863c (patch) | |
tree | 32897c5dba0c6f2b2d5a298c8fb18de18617a082 /lib/urldata.h | |
parent | 8d1239c091ef61725e6ce3c53b92b45a71f6f927 (diff) |
known bug #46: chunked-encoded CONNECT responses from a http proxy now works.
Added test case 1008 to verify. Note that #47 is still there.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index b1de21ac5..4ed161a5f 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -296,7 +296,6 @@ struct HTTP { /* For FORM posting */ struct Form form; - struct Curl_chunker chunk; struct back { curl_read_callback fread_func; /* backup storage for fread pointer */ @@ -818,6 +817,11 @@ struct connectdata { connection is used! */ struct SessionHandle *data; + /* chunk is for HTTP chunked encoding, but is in the general connectdata + struct only because we can do just about any protocol through a HTTP proxy + and a HTTP proxy may in fact respond using chunked encoding */ + struct Curl_chunker chunk; + bool inuse; /* This is a marker for the connection cache logic. If this is TRUE this handle is being used by an easy handle and cannot be used by any other easy handle without careful |