diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-11-11 08:40:37 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-11-11 08:40:37 +0000 |
commit | 03c22b4576e99abf6385f64f54e3fb85c782cf0f (patch) | |
tree | 67bbfddc9db864878812c8fd08be00b478a71678 /lib/urldata.h | |
parent | ef749fa9ce93830f9835c9951a223dea4f5782ff (diff) |
Now supports "Transfer-Encoding: chunked" for HTTP PUT operations where the
size of the uploaded file is unknown.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index e521d325c..523b58f2e 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -285,6 +285,8 @@ struct Curl_transfer_keeper { fd_set wkeepfd; int keepon; + bool upload_done; /* set to TRUE when doing chunked transfer-encoding upload + and we're uploading the last chunk */ }; @@ -450,6 +452,9 @@ struct connectdata { bool do_more; /* this is set TRUE if the ->curl_do_more() function is supposed to be called, after ->curl_do() */ + + bool upload_chunky; /* set TRUE if we are doing chunked transfer-encoding + on upload */ }; /* The end of connectdata. 08/27/02 jhrg */ |