cURL / Mailing Lists / curl-library / Single Mail


Re: curl_multi_socket_action, epoll and HTTP redirect

From: Daniel Stenberg <>
Date: Wed, 6 Mar 2013 13:20:11 +0100 (CET)

On Tue, 5 Mar 2013, Erik Johansson wrote:

> When a socket is first connected, CURLMOPT_SOCKETFUNCTION is called and the
> socket is added to the epoll set. Later on when cURL connects to the HTTP
> server and sees the redirect it closes the socket (which makes the kernel
> remove the socket from the epoll set) and opens a new.

If this is done without the CURLMOPT_SOCKETFUNCTION telling you about it, then
there's a bug. Can you help us repeat this?

List admin:
Received on 2013-03-06