[Bug 571] Changed - Read from socket hangs

wine-bugs at winehq.com wine-bugs at winehq.com
Thu Apr 11 04:37:04 CDT 2002


http://bugs.codeweavers.com/show_bug.cgi?id=571

*** shadow/571	Thu Apr 11 02:26:29 2002
--- shadow/571.tmp.5513	Thu Apr 11 04:37:04 2002
***************
*** 66,68 ****
--- 66,89 ----
  ------- Additional Comments From jarto at starsoft.fi  2002-04-11 02:26 -------
  The bug occurs with 20020310 too. I can test an earlier version if you just tell
  me which one to test.
+ 
+ ------- Additional Comments From martin.wilck at fujitsu-siemens.com  2002-04-11 04:37 -------
+ Please try if the following patch resolves your problem:
+ If not, please send me another trace (Btw how do you generate these beautiful
+ traces with server and client messages interleaved?)
+ 
+ Patch URL:
+ http://www.winehq.com/hypermail/wine-patches/2002/04/0021.html
+ 
+ Rationale: The created socket uses overlapped mode by default. The code calls
+ ReadFile()
+ with an OVERLAPPED structure to receive its answer. The ReadFile() request
+ succeeds immediately, and with the current CVS implementation the event of the
+ OVERLAPPED structure
+ is not set in the immediate completion case. The above patch changes the way
+ immediate completion is handled (especially, the event handling) and might
+ therefore be the solution.
+ 
+ Please inform me of either success or failure. This patch is waiting for
+ acceptance, and your case
+ may be strong one if it helps you out :)



More information about the wine-bugs mailing list