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 /packages/OS400/README.OS400 | |
parent | 001a2d9b67f3bf685c5a2df6495b999cc3966acc (diff) | |
download | curl-a005243908803662d4a05427bc1061db42f4d057.tar.gz |
Fix dynamic CURLOPT_POSTFIELDS bug: back to static.
CURLOPT_COPYPOSTFIELDS option added for dynamic.
Fix some OS400 features.
Diffstat (limited to 'packages/OS400/README.OS400')
-rw-r--r-- | packages/OS400/README.OS400 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/OS400/README.OS400 b/packages/OS400/README.OS400 index eb5b940ac..3dad3ab5d 100644 --- a/packages/OS400/README.OS400 +++ b/packages/OS400/README.OS400 @@ -81,7 +81,7 @@ options: CURLOPT_KEYPASSWD CURLOPT_KRBLEVEL CURLOPT_NETRC_FILE - CURLOPT_POSTFIELDS + CURLOPT_COPYPOSTFIELDS CURLOPT_PROXY CURLOPT_PROXYUSERPWD CURLOPT_RANDOM_FILE @@ -102,6 +102,10 @@ options: Else it is the same as for curl_easy_setopt(). Note that CURLOPT_ERRORBUFFER is not in the list above, since it gives the address of an (empty) character buffer, not the address of a string. +CURLOPT_POSTFIELDS stores the address of static binary data (of type void *) and +thus is not converted. If CURLOPT_COPYPOSTFIELDS is issued after +CURLOPT_POSTFIELDSIZE != -1, the data size is adjusted according to the +CCSID conversion result length. _ curl_formadd_ccsid() In the variable argument list, string pointers should be followed by a (long) |