[PATCH try2 1/5] wininet: Don't send INTERNET_STATUS_HANDLE_CLOSING when closing handle opened with InternetOpen for HTTP connection.

Misha Koshelev mk144210 at bcm.edu
Fri Aug 17 23:52:38 CDT 2007


So technically I guess this is a try2 as this is the whole patchset whereas before I just sent out patch #3
(which is unchanged). This patchset fixes the http protocol race Alexandre pointed out to me (in terms of 
occasional page fault after running url tests) by sending INTERNET_STATUS_HANDLE_CLOSING at the correct
time (as native does).

This first patch fixes the fact that we would send INTERNET_STATUS_HANDLE_CLOSING for the handle opened
with InternetOpen. The way I figured this out is simply b/c when I started testing HANDLE_CLOSING using
ftp I realized wine was already in conformance, and that it was this improper setting of the context in
the InternetOpen handle that was causing the incorrect behavior.
---
 dlls/wininet/http.c       |    2 --
 dlls/wininet/tests/http.c |    4 ++--
 2 files changed, 2 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dd58f96a86f089b60beb4f1eafdbae4af30321af.diff
Type: text/x-patch
Size: 1454 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070817/89207966/dd58f96a86f089b60beb4f1eafdbae4af30321af.bin


More information about the wine-patches mailing list