wininet: Add tests for asynchronous HttpSendRequestEx/HttpEndRequest.

Nicolas Le Cam niko.lecam at
Fri Apr 10 22:14:25 CDT 2009

Hi Hans,

Your patch makes the test timeout on my machine

Timeout occurs in HttpSendRequestEx_test on HttpEndRequest call which
hang. Disabling test_async_HttpSendRequestEx makes it pass again.

After some tests it seems to be a timing issue, but I haven't been
able to find a real solution. Just that waiting at least 500msec
between the two HttpEndRequest, or waiting at least 150ms after the
WaitForSingleObject that follow the second HttpEndRequest makes test
pass. Reading response doesn't change anything.

After reading a little bit about how this works I don't see anything
wrong. Perhaps you will.

Nicolas Le Cam

More information about the wine-devel mailing list