httpapi/tests: Cancel a pending receive request (Valgrind).

Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sven Baars 2019-09-26 14:18:27 +02:00 committed by Alexandre Julliard
parent a1953e4e2c
commit fea609c0d0
1 changed files with 2 additions and 0 deletions

View File

@ -534,6 +534,8 @@ static void test_v1_short_buffer(void)
ok(!ret, "Got error %u.\n", ret); ok(!ret, "Got error %u.\n", ret);
ok(req->RequestId == req_id, "Got request ID %s.\n", wine_dbgstr_longlong(req->RequestId)); ok(req->RequestId == req_id, "Got request ID %s.\n", wine_dbgstr_longlong(req->RequestId));
CancelIoEx(queue, &ovl);
ret = HttpRemoveUrl(queue, localhost_urlW); ret = HttpRemoveUrl(queue, localhost_urlW);
ok(!ret, "Got error %u.\n", ret); ok(!ret, "Got error %u.\n", ret);
closesocket(s); closesocket(s);