cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1236517 ] Problem posting large data using ssl

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 12 Jul 2005 00:14:32 -0700

Bugs item #1236517, was opened at 2005-07-12 08:57
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1236517&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: https
Group: wrong behaviour
Status: Open
Resolution: None
>Priority: 6
Submitted By: shuggins (shuggins)
Assigned to: Daniel Stenberg (bagder)
Summary: Problem posting large data using ssl

Initial Comment:
There seems to be a problem using command line curl
with ssl, when posting a large amount of data.

curl -3 -H "application/x-www-form-urlencoded" -d
"xml=some really big base64 encoded xml here" -k
https://www.anyserver.com

I have run on the dos command line (using PHP exec
command):
curl 7.12.2 (i386-pc-win32) libcurl/7.12.2
OpenSSL/0.9.7b zlib/1.2.1
Protocols: ftp gopher telnet dict ldap http file https ftps
Features: NTLM SSL libz

And on a Sun unix command line:
curl 7.10.2 (sparc-sun-solaris2.8) libcurl/7.10.2
OpenSSL/0.9.6g zlib/1.1.3

Same problem using PHP:

$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); //return as
a variable
curl_setopt($ch, CURLOPT_POST, 1); //set POST method
curl_setopt($ch, CURLOPT_POSTFIELDS, $request); //set
the POST variables
$response = curl_exec($ch); //run the whole process and
return the response
curl_close($ch); //close the curl handle

Now, all of these methods seem to work fine if I don't
use ssl. It also works fine if I use small XML's. I
must use a form style POST per my vendor's requirements.

Seems like it's an SSL bug.

----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2005-07-12 09:14

Message:
Logged In: YES
user_id=1110

Can you please try to upgrade to 7.14.0 and see if the
problem persists? We have fixed some SSL-related stuff since
your version.

If the problem is still there after an upgrade, can you show
and explain with more details what goes wrong? Like: what
does curl send, what does it receive and what was it
expected to send and receive...

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1236517&group_id=976
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-tracker
Received on 2005-07-12

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET