[Bug 26031] µTorrent loses the ability of listening to incoming connections

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Oct 25 19:00:13 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=26031

--- Comment #14 from Bruno Jesus <00cpxxx at gmail.com> 2011-10-25 19:00:13 CDT ---
After more research I think there is nothing wrong in wine. I found a reliable
way to reproduce the bug too: open utorrent and after it start listening you
run wineserver -k.

This will leave the port in a unknown state (possibly TIME_WAIT) and the
GNU/Linux default timeout for this is 60 seconds. If you reopen utorrent or any
other program that tries to bind the same port the OS will refuse saying the
address is already in use. If you wait 60 seconds and retry the bind and listen
will work.

uTorrent should retry listening from time to time because this may happen in
windows too. You can also set the "Randomize port on each start" to get around
this. If utorrent used SO_REUSE_ADDR this should have not happened too.

Last thoughts: IMO this is an OS TCP implementation bug that cannot be fixed in
wine.

Any thoughts, Artem?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list