cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Any reason why:

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 16 Oct 2001 11:49:10 +0200 (MET DST)

On Mon, 15 Oct 2001, Lucas Adamski wrote:

> I would get a situation where both the HTTP code and the return code from
> libcurl are 0? 2 examples where this has happened (4 total out of about
> 450 attempts):

Well, they didn't just return http and return code 0, according to your
output they didn't return any contents at all:

> Got: http://www.kaosarts.com/ with code 0
> pretransfer_time: 1.53964 req size: 174 head size: 0
> download speed: 0 upload speed: 0 download size: 0 upload size: 0
> totaltime: 5.84992 lookuptime: 0.794927 connect_time: 1.53947 Total download
> size: 0

What would you suggest should be returned instead of 0 when there was no HTTP
code returned in the response?

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2001-10-16