curl-library
RE: [PATCH v4] Add connection delay to Happy Eyeballs.
Date: Tue, 12 Nov 2013 11:16:46 +0000
On Tue, 12 Nov 2013, Björn Stenberg wrote:
> > The bad news is... The Solaris and IRIX builds are complaining
> > about an open handle in connect.c:1263 when connecting to a
> > non-listening socket:
>
> Yeah, I saw that too. I struggle to see in the code what path brings
> that error.
Me too - I've been debugging it for an hour or so this morning and couldn't
reproduce anything ;-)
Looking at the code the only problem I can see is in singleipconnect() when
the default clause gets called in "switch (error)".
In other instances where this function returns a failure it closes the
socket. In most instances where CURLE_OK gets returned "*sockp" is set to
"sockfd". In this instance neither happens :(
> I have asked around to see if I can locate someone with a suitable
>machine to lend me shell access for a few hours debugging.
Cool - thank you.
S.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-11-12