Added CURLOPT_POSTFIELDSIZE_LARGE to offer a large file version of the

CURLOPT_POSTFIELDSIZE option to allow really big HTTP POSTs.
This commit is contained in:
Daniel Stenberg
2004-03-12 08:55:47 +00:00
parent 9af532e662
commit 1ebda8fa0e
6 changed files with 29 additions and 7 deletions

View File

@@ -780,9 +780,9 @@ struct UserDefined {
char *useragent; /* User-Agent string */
char *encoding; /* Accept-Encoding string */
char *postfields; /* if POST, set the fields' values here */
size_t postfieldsize; /* if POST, this might have a size to use instead of
strlen(), and then the data *may* be binary (contain
zero bytes) */
curl_off_t postfieldsize; /* if POST, this might have a size to use instead
of strlen(), and then the data *may* be binary
(contain zero bytes) */
char *ftpport; /* port to send with the FTP PORT command */
char *device; /* network interface to use */
curl_write_callback fwrite; /* function that stores the output */