Now supports "Transfer-Encoding: chunked" for HTTP PUT operations where the

size of the uploaded file is unknown.
This commit is contained in:
Daniel Stenberg
2002-11-11 08:40:37 +00:00
parent ef749fa9ce
commit 03c22b4576
4 changed files with 71 additions and 4 deletions

View File

@@ -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 */