curl-users
SSL problem with large POST
Date: 4 Jun 2003 17:10:37 -0000
Hello,
I'm trying to perform a large POST operation to an https server (actually
a SOAP request), using libcurl 7.10.4.
The bit of code I'm using is:
curl_easy_setopt(curl, CURLOPT_URL, "https://any_https_server");
curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, &eb);
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, data);
res = curl_easy_perform(curl);
For relatively large data sizes (up to about 75 kB) this works fine, but
any more than this and it fails with a curl error 55 (error message is
'SSL_write() return error 1') which seems to indicate an underlying SSL
prob (I'm using openSSL 0.9.6j).
I've tried with a variety of https servers, all with the same problem, so
i'm sure that the problem's on the client side.
Has anyone seen this happen. Is this a bug in cURL or OpenSSL, or am I
doing something wrong?
Thanks for your help!
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
Received on 2003-06-04