[PATCH 1/2, try2] wininet/tests: Properly handle ERROR_IO_PENDING from InternetQueryDataAvailable.

Misha Koshelev mk144210 at bcm.edu
Sun Jul 15 16:29:46 CDT 2007


Changes: to patch2:
	* SET_EXPECT(INTERNET_STATUS_REQUEST_COMPLETE) should be set before InternetQueryDataAvailable
	  is called so that we do not depend on timing of checking for last error before setting it, as
	  it can be called anytime after this function call.
	* Fixed minor timing issues with INTERNET_STATUS_CLOSING_CONNECTION and CONNECTION_CLOSED expect's
          and checks (discovered after I had applied my other patches, to be sent as a separate patchset).
---
 dlls/wininet/tests/http.c |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3e9992fe6eaeaa2e0c7ce0d155e3332192404a59.diff
Type: text/x-patch
Size: 1028 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070715/d63ca5a7/3e9992fe6eaeaa2e0c7ce0d155e3332192404a59.bin


More information about the wine-patches mailing list