cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Select call of libcurl returns without connecting

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 8 Dec 2009 19:37:34 +0100 (CET)

On Tue, 8 Dec 2009, centrio_at_gmail.com wrote:

> The problem is 60 times select call is not enough for libcurl to get even
> the headers from server. But for same URL it is able to get headers and data
> much before 60 attempts if some other component has accessed the network.
>
> Please suggest what could be wrong in my code?

I don't think this is a libcurl issue. If you can run a simple example such as
http://curl.haxx.se/libcurl/c/multi-single.html against this server and it
works, then we know the problem is rather in your code - and fixing your code
isn't our job.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-12-08