cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: cURL in PHP behind proxy

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 30 Jun 2004 09:14:59 +0200 (CEST)

On Tue, 29 Jun 2004 dirk_at_spolem.net wrote:

> All that is displayed on the page is:
>
> page:1transfer closed with 1543 bytes remaining to read

This happens because the server claims the downloaded data has a certain size
before the download stats and then when the connection is closed after the
transfer, libcurl still lacked 1543 bytes of data until it would consider the
download complete.

To figure out what's wrong here, I suggest you enable verbose debug options,
check the sent headers (both ways) and you check out the network traffic (with
ethereal or similar).

It might be a problem with your network, with your proxy or with the remote
server. I don't think this is a libcurl problem.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-06-30