[PATCH 2/5] server: Queue a cancel IRP in the device file cancel_async callback.

Zebediah Figura zfigura at codeweavers.com
Tue Sep 7 22:03:45 CDT 2021


On 9/7/21 2:38 PM, Alexandre Julliard wrote:
> Zebediah Figura <zfigura at codeweavers.com> writes:
> 
>> Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
>> ---
>>   dlls/ntoskrnl.exe/ntoskrnl.c | 22 ----------------------
>>   server/async.c               |  9 ++++++++-
>>   server/device.c              | 23 ++++++++++-------------
>>   3 files changed, 18 insertions(+), 36 deletions(-)
> 
> This breaks the tests:
> 
> tools/runtest -q -P wine -T . -M httpapi.dll -p dlls/httpapi/tests/httpapi_test.exe httpapi && touch dlls/httpapi/tests/httpapi.ok
> httpapi.c:355: Test failed: Got error 996.
> httpapi.c:356: Test failed: Got size 3735928559.
> make: *** [Makefile:62335: dlls/httpapi/tests/httpapi.ok] Error 2
> 

The attached patch should fix it. The rest of the series should remain 
unchanged.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-httpapi-tests-Wait-for-cancelled-I-O-to-complete.patch
Type: text/x-patch
Size: 1202 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210907/b5e85d9f/attachment-0001.bin>


More information about the wine-devel mailing list