cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_OPENSOCKETFUNCTION, disconnect?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 24 Apr 2009 13:48:53 +0200 (CEST)

On Thu, 23 Apr 2009, thhk nhkr wrote:

> I tried using CURLOPT_OPENSOCKETFUNCTION option to fully control the
> sockets. So I opened the socket by myself and saved the fd, but what happens
> if the libcurl is deciding to disconnect the socket? Is there any
> indication?

Uh, no... I guess it would make perfect sense to also have a
CLOSESOCKETFUNCTION. Was that more or less what you were looking for?

-- 
  / daniel.haxx.se
Received on 2009-04-24