https://bugs.winehq.org/show_bug.cgi?id=54184
Bug ID: 54184 Summary: [regression] Multiple applications fail http requests when WinHttpSendRequest() doesn't contain full request data. Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winhttp Assignee: wine-bugs@winehq.org Reporter: pgofman@codeweavers.com Distribution: ---
Split off from Bug 54055 (see Comments 1, 3, 4 there).
The problem is introduced by this commit:
commit aa8f97e8294b0618de0e8a45ff2adef0c4e516da Author: Paul Gofman pgofman@codeweavers.com Date: Mon Dec 5 19:33:18 2022 -0600
winhttp: Receive server reply in send_request().
For the requests which involve additional data to be sent the application might use WinHttpWriteData() before WinHttpReceiveResponse() to pass the additional request data instead of providing the optional data to WinHttpSendRequest(). In that case server reply can't be read in send_request().