curl-library
Re: Regarding the curl_easy_perform error.
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 9 Apr 2009 23:40:36 +0200 (CEST)
Date: Thu, 9 Apr 2009 23:40:36 +0200 (CEST)
On Thu, 9 Apr 2009, Pallavi Agrawal wrote:
> I am facing the issue of the curl_easy_perform error "couldn't connect to
> host" on making rapid web requests.
if you wireshark the network when this happens, don't you see failed TCP
"connect" sequences? Or is it socket() that fails?
> On getting the libcurl error I did inetstatShow and observerd that the tcp
> sockets get into the TIME_WAIT (as can be seen below).
If they are, I suppose an RTOS could easily run out of available sockets. Why
are they in TIME_WAIT? Normally they shouldn't be.
-- / daniel.haxx.seReceived on 2009-04-09