Date: Fri, 19 Dec 2014 00:29:35 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 196115] New: net/tsocks: handle EISCONN when connecting to a server Message-ID: <bug-196115-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196115 Bug ID: 196115 Summary: net/tsocks: handle EISCONN when connecting to a server Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: accornehl@fastmail.fm CC: bdrewery@FreeBSD.org Created attachment 150740 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=150740&action=edit patch for tsocks.c Upstream bug: http://sourceforge.net/p/tsocks/bugs/20/ Version: FreeBSD 11.0-CURRENT #0 07482a2(onefs-compat): Wed Nov 19 19:50:05 PST 2014 ~ % tsocks curl -LI google.com 14:30:52 libtsocks(33389): Error 56 attempting to connect to SOCKS server (Socket is already connected) curl: (52) Empty reply from server The attached patch allows the connection to go down the right path when EISCONN is returned, which is what happens when the connection is already established. The tsocks handling works as I'd expect with this change. ~ % tsocks curl -LI google.com HTTP/1.1 301 Moved Permanently [...] HTTP/1.1 200 OK [...] -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196115-13>