Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239173 - dev-lang/erlang-12.2.4: gen_tcp:connect gives "false positives"
Summary: dev-lang/erlang-12.2.4: gen_tcp:connect gives "false positives"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Christian Faulhammer (RETIRED)
URL: http://www.erlang.org/pipermail/erlan...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-30 18:01 UTC by Oscar Hellström
Modified: 2008-10-03 18:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for the inet driver (erlang-12.2.4-inet_drv.patch,1.22 KB, text/plain)
2008-09-30 18:02 UTC, Oscar Hellström
Details
Tiny ebuild change to apply the inet patch (erlang-12.2.4.ebuild.patch,472 bytes, text/plain)
2008-09-30 18:02 UTC, Oscar Hellström
Details

Note You need to log in before you can comment on or make changes to this bug.
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.