"Joe Eggleston" <j...@arbor.net> wrote:
I have a C program using the multi-interface to libcurl with libevent. I found it stuck with a half-open connection. By half-open I mean the connection was established, then the server box died, so there was no FIN, etc.
Then the connection is probably in CLOSE_WAIT. This is normal and nothing libcurl should care about AFAICS. Why do yuo really care what netstat is saying? If you're on Windows, you could use e.g. ActivePorts from SysInternals and kill the connection. --gv