cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_multi_socket_action, epoll and HTTP redirect

From: Daniel Stenberg <daniel_at_haxx.se>
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?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-03-06