[Bug 9787] Warcraft3 Battle.net Doesn't work (Needs AcceptEx)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Sep 19 10:10:34 CDT 2008


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





--- Comment #272 from Scott Lindeneau <slindeneau at gmail.com>  2008-09-19 10:10:31 ---
(In reply to comment #271)
> No, I'm using 1.1.4.

That's a new git since the patch(patch was 1.1.2)... But I think I know what
the problem is, and it's not related to the git update.

<insert note to self>
The incoming connection hangs up(closes) before the dll thread can process the
connection. This results in incorrect behavior for AcceptEx which incorrectly
notifies that a socket is ready for use, when it's not. This incorrectly
initialized socket is then used in other asynchronous socket functions which
causes the critical wait errors.

Fix: Do not use the completion mechanism built into the register_async. Only
add-completion upon successful connection of a socket. Socket should requeue
itself instead of returning the failure.
<end note to self>


-- 
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