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: Mon, 1 Apr 2013 20:04:35 +0200 (CEST)

On Mon, 1 Apr 2013, Erik Johansson wrote:

> socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4
> connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1
> ENOENT (No such file or directory)
> socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4

The problem isn't that socket() returns the same fd though, the problem is
rather if libcurl doesn't properly handle this case - and I failed to repeat
it...

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