winhttp: Read any data left in the request buffer for websocket connections.
commitf738af16fbdab32d820f9ea0749da3397d5c1995
authorHans Leidekker <hans@codeweavers.com>
Wed, 22 Sep 2021 10:44:13 +0000 (22 12:44 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 22 Sep 2021 19:48:34 +0000 (22 21:48 +0200)
treeb2414bdedaab8d880fd232a4db176dd90c4a4da3
parent54742a9001a6bd24baeede130c1f1a78c4be3f07
winhttp: Read any data left in the request buffer for websocket connections.

Fixes the case where a websocket server sends an unsolicited frame with the upgrade response.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/winhttp/request.c