[PATCH 2/2] urlmon: Make HttpProtocol conform with native wininet on wine.

Misha Koshelev mk144210 at bcm.edu
Thu Jul 12 00:46:04 CDT 2007


So I figured out the non-native wininet behavior with asynchronous internet handles that I 
think Jacek was referring to. It has to do with our InternetQueryDataAvailable function
that is not asynchronous.

In any case, this patch fixes up HttpProtocol to make sure that it still conforms with the
tests in tests/protocol.c whether or not it is running with native wininet or wine wininet so
that it still conforms when our wininet begins to support true asynchronous calls to
InternetQueryDataAvailable and in turn sends out INTERNET_STATUS_REQUEST_COMPLETE status
updates when data becomes available after such a call as native does.

I will look in wininet next to see how hard this will be to implement/correct, although there
are some others probs there I will be looking at too (our handling of redirects, also 
currently non-native).
---
 dlls/urlmon/http.c |   53 ++++++++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 47 insertions(+), 6 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8317509904c6f8081b78663e7a2159fccae7d499.diff
Type: text/x-patch
Size: 4258 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070712/4269efc7/8317509904c6f8081b78663e7a2159fccae7d499.bin


More information about the wine-patches mailing list