diff options
author | Patrick Monnerat <Patrick.Monnerat@datasphere.ch> | 2007-10-15 18:32:01 +0000 |
---|---|---|
committer | Patrick Monnerat <Patrick.Monnerat@datasphere.ch> | 2007-10-15 18:32:01 +0000 |
commit | a005243908803662d4a05427bc1061db42f4d057 (patch) | |
tree | ca68d875dbccc05d8f97c9e3451b9c22977d1350 /lib/urldata.h | |
parent | 001a2d9b67f3bf685c5a2df6495b999cc3966acc (diff) |
Fix dynamic CURLOPT_POSTFIELDS bug: back to static.
CURLOPT_COPYPOSTFIELDS option added for dynamic.
Fix some OS400 features.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index ef685e183..8ee1d1989 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -1286,7 +1286,7 @@ enum dupstring { STRING_KRB_LEVEL, /* krb security level */ STRING_NETRC_FILE, /* if not NULL, use this instead of trying to find $HOME/.netrc */ - STRING_POSTFIELDS, /* if POST, set the fields' values here */ + STRING_COPYPOSTFIELDS, /* if POST, set the fields' values here */ STRING_PROXY, /* proxy to use */ STRING_PROXYUSERPWD, /* Proxy <user:password>, if used */ STRING_SET_RANGE, /* range, if used */ @@ -1326,6 +1326,7 @@ struct UserDefined { bool post301; /* Obey RFC 2616/10.3.2 and keep POSTs as POSTs after a 301 */ bool free_referer; /* set TRUE if 'referer' points to a string we allocated */ + void *postfields; /* if POST, set the fields' values here */ 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) */ |