#2 wininet: Always close the data connection before receiving a server response.

Hans Leidekker hans at it.vu.nl
Fri Oct 26 16:19:38 CDT 2007


This one removes another source of timeouts. For me all tests pass
now without any timeout on 2 different versions of Windows and 2 machines
with Wine installed. Though after having looked at this code for a while
I am certain that there are more bugs lurking in there.

On the fast machine with 2 x 2 Xeon 3Ghz cores and a 1 Gb uplink Wine
takes 14 seconds to complete the test while a Windows VM on the same
machine takes 16 seconds.

So what happened is that we didn't always close the data connection
before waiting for a server response, in which case the server will
never respond and the test would timeout after 30 seconds.

 -Hans

Changelog
 Always close the data connection before receiving a server response.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wininet_ftp_c_11.diff
Type: text/x-diff
Size: 8882 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071026/77e3a459/attachment.diff 


More information about the wine-patches mailing list