cURL / Mailing Lists / curl-library / Single Mail


RE: Request is getting truncated by my WAS App server

From: <>
Date: Thu, 12 May 2005 13:48:14 -0000

ok, what i should have said was that your original data sent was a GET,
but the code you list below does a post. are you sure that this is the
code that made the request, and not some other code? or perhaps there is
something in your older version of libcurl that made this perform a get

>>> printf("%s",pTURL);
>>> curl_easy_setopt(localcurlHndl, CURLOPT_URL,
>>> "" );
>>> curl_easy_setopt(localcurlHndl, CURLOPT_POSTFIELDS,pTURL);
>>> curl_easy_setopt(localcurlHndl, CURLOPT_POSTFIELDSIZE,
>>> strlen(pTURL));
>>> curl_easy_perform(localcurlHndl);

can you get a tcpdump or ethereal dump of the communication with a working
transaction from your browser and a non-working one from your curl app? i
find comparing those (in ethereal) is most helpful.

Received on 2005-05-12