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:
parent
a1953e4e2c
commit
fea609c0d0
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue