cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl hang in poll() using easy interface

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 14 Feb 2007 14:24:44 +0100 (CET)

On Mon, 12 Feb 2007, Sami M wrote:

> I am using libcurl v7.15.5 in a multi threaded (crawler) application. I get
> occational hangs in some threads. I was thinking it might be a known issue.

No, I don't think we've got this reported before.

> #0 0xffffe402 in __kernel_vsyscall ()
> #1 0x00aba503 in poll () from /lib/libc.so.6
> #2 0x080d597d in Curl_select (readfd=36, writefd=-1, timeout_ms=1000) at
> select.c:101

And this hangs for more than 1000 ms? Or is it repeatedly called and hangs
1000ms per call? And you're sure that you do get traffic on this socket, that
would make it stop waiting?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-02-14