curl-users
curl 7.9.5 question
Date: Mon, 07 Apr 2003 20:25:50 +0200
I know, this is an older release, but it comes bundled with the Redhat 7.3
release, and upgrading it seems rather dangerous, considering all the
dependencies involved. It's just to early for me to upgrade to Redhat 8
with Apache 2.0 and all, I want to have a stable server.
In my setup, curl is used in a PHP application that acts as a "connector"
between outside HTTP GET and POST requests, it links them through to the
databases behind the firewall (and does some other stuff not relevant
here).
The project is almost ready, and I'm doing some test runs with different
site setups. The problem I'm bumping into:
A bigger POST request is received only partially at the receiver side.
Only approx. 320 bytes of the POSTed data arrive. Here's part of my code:
$postData = ArrayToPostString($_POST); // urlencoding the POSTed data
curl_setopt ($ch, CURLOPT_POSTFIELDS, $postData); // this part is
truncated to some 320 bytes when received on the other end
I did a test setup with a Redhat 8 server with the latest and greatest
curl available in that distribution, and the same code runs fine.
Therefore I presume this could be a bug in the curl 7.9.5 release.
My question: can somebody help here? Curl 7.9.5 is available as a source
RPM release, so it is probable that a curl guru can pinpoint the problem.
If I could simply re-compile the fixed source code, it would save me from
a complete upgrade of the server. I'd rather program a socket based
work-around in PHP to get the bigger POSTs right, than to upgrade my
server.
Thanks for any help offered!
-- Peter
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
Received on 2003-04-07