Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 239173

Summary: dev-lang/erlang-12.2.4: gen_tcp:connect gives "false positives"
Product: Gentoo Linux Reporter: Oscar Hellström <oscar>
Component: New packagesAssignee: Christian Faulhammer (RETIRED) <fauli>
Status: RESOLVED FIXED    
Severity: normal CC: lang-misc+disabled
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.erlang.org/pipermail/erlang-bugs/2008-September/000983.html
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for the inet driver
Tiny ebuild change to apply the inet patch

Description Oscar Hellström 2008-09-30 18:01:07 UTC
When trying to connect a tcp socket in a loop, the gen_tcp connect call sometimes gives {ok, P} even though no socket is actually listening on the port trying to connect to.

This patch has been accepted by the OTP team but is not in the R12B-4 release.

Reproducible: Sometimes

Steps to Reproduce:
See link to mailing list.
Comment 1 Oscar Hellström 2008-09-30 18:02:03 UTC
Created attachment 166854 [details]
Patch for the inet driver
Comment 2 Oscar Hellström 2008-09-30 18:02:35 UTC
Created attachment 166855 [details]
Tiny ebuild change to apply the inet patch
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2008-10-03 18:50:54 UTC
Thanks for the report, fixed and stabilisation of 12B-4 series postponed to November.