[PATCH try2 2/3] wininet: InternetQueryDataAvailable does not return ERROR_NO_MORE_FILES when no more HTTP data is available.

Misha Koshelev mk144210 at bcm.edu
Sun Aug 12 15:40:46 CDT 2007


InternetQueryDataAvailable doesn't return ERROR_NO_MORE_FILES on end of input. Not sure why this was the
behavior in the wine tree. This is based on my tests in patch 3 (which succeed on winxp and win98, on
win98 with the caveat that the test_http_connection must be disabled as that always crashes on win98) and
also on my testing with native urlmon which showed that native urlmon (as well as our implementation)
will fail with INET_E_DATA_NOT_AVAILABLE if InternetQueryDataAvailable returns FALSE, even with last error
set to ERROR_NO_MORE_FILES.
---
 dlls/wininet/internet.c      |   58 +++++++++++++++++------------------------
 dlls/wininet/netconnection.c |    2 +-
 2 files changed, 25 insertions(+), 35 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2ac9c89d11ffc5ca2f3732c160b9afbbc4d3b1ab.diff
Type: text/x-patch
Size: 4123 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070812/bb0fa7a3/2ac9c89d11ffc5ca2f3732c160b9afbbc4d3b1ab.bin


More information about the wine-patches mailing list