cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: FW: HTTP GET using easycurl - HTTP chunks in HTTP response.

From: Rangoli Mathur <Rangoli.Mathur_at_wnco.com>
Date: Wed, 13 Dec 2006 20:24:12 -0600
Re: FW: HTTP GET using easycurl - HTTP chunks in HTTP response.
 


>From: curl-library-bounces@cool.haxx.se on behalf of Dan Fandrich
>Sent: Wed 12/13/2006 7:27 PM
>To: libcurl development
>Subject: Re: FW: HTTP GET using easycurl - HTTP chunks in HTTP response.

>On Wed, Dec 13, 2006 at 06:24:48PM -0600, Rangoli Mathur wrote:
>> I am using libcurl 7.16.0 on Solaris.
>> I tried the curl command line tool doesn't pose this problem. The
>> response from curl coagulated all the HTTP chunks, (I made sure the
>> transfer encoding is still chunked).
>> So, the issue, then lies in libcurl?
>>
>> The command executed was:
>> curl -x proxy.swacorp.com:8080 -i -G -d "www.yahoo.com" --url
>> "www.yahoo.com" --trace trace.out  >a.out

>Your C snippet didn't have any mention of a proxy server.  That makes this
>a poor simulation of what you're doing with libcurl.  Proxy servers can
>introduce a whole new level of brain-damage to HTTP.

I did have a proxy in the C snippet too. It was a cut-n-paste error so it didnt figure in the C snippet I copied in my previous email. But I am using a proxy in both(using curl command line tool, and libcurl) cases.


>> I am attaching trace.out and a.out.

>These trace files look fine, which matches what you were saying about curl
>working.  Try doing a curl command-line that matches as closely as
>possible what you're doing in C; that's the whole point of the exercise.


>>>> Dan

Received on 2006-12-14