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().
https://bugs.winehq.org/show_bug.cgi?id=54184
Paul Gofman pgofman@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |aa8f97e8294b0618de0e8a45ff2 | |adef0c4e516da
https://bugs.winehq.org/show_bug.cgi?id=54184
Paul Gofman pgofman@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |scarre.lu@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=54184
--- Comment #1 from Paul Gofman pgofman@codeweavers.com --- I created a MR with the fix: https://gitlab.winehq.org/wine/wine/-/merge_requests/1851
https://bugs.winehq.org/show_bug.cgi?id=54184
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=54184
--- Comment #2 from Paul Gofman pgofman@codeweavers.com --- This should be fixed by 3f51fcf8ac40296265f0bf88ed51e0778f6b266a which is now in Wine 8.0-rc2.
https://bugs.winehq.org/show_bug.cgi?id=54184
Paul Gofman pgofman@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |3f51fcf8ac40296265f0bf88ed5 | |1e0778f6b266a
--- Comment #3 from Paul Gofman pgofman@codeweavers.com --- Fixed by 3f51fcf8ac40296265f0bf88ed51e0778f6b266a.
https://bugs.winehq.org/show_bug.cgi?id=54184
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |8.0-rc1 Summary|[regression] Multiple |Multiple applications fail |applications fail http |http requests when |requests when |WinHttpSendRequest() |WinHttpSendRequest() |doesn't contain full |doesn't contain full |request data |request data. |
https://bugs.winehq.org/show_bug.cgi?id=54184
--- Comment #4 from optimax scarre.lu@gmail.com --- I confirm that the issue is fixed with 8.0 rc2. Thank you very much for taking the time to investigate.
https://bugs.winehq.org/show_bug.cgi?id=54184
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.0-rc3.