winhttp: Only read server reply in send_request() if the whole request is sent.
commit3f51fcf8ac40296265f0bf88ed51e0778f6b266a
authorPaul Gofman <pgofman@codeweavers.com>
Mon, 19 Dec 2022 23:06:13 +0000 (19 17:06 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 20 Dec 2022 21:37:03 +0000 (20 22:37 +0100)
tree645a8346269400f65d406de4b3d1c1fea2d72abb
parent2677546e0a24f647ac98fd3deaf8ae3a2f457825
winhttp: Only read server reply in send_request() if the whole request is sent.

Fixes a regression introduced by
aa8f97e8294b0618de0e8a45ff2adef0c4e516da.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54184
dlls/winhttp/request.c
dlls/winhttp/tests/notification.c
dlls/winhttp/winhttp_private.h