http://bugs.winehq.org/show_bug.cgi?id=59672 --- Comment #14 from Hans Leidekker <hans@meelstraat.net> --- (In reply to axis6404 from comment #13)
The data is retrieved through 2 or 3 separate WinHttpReadData calls.
Without patch: {"key1":"Random key(base64)", "key2":"Random key2(base64)"} With patch: Random key?(base64)", "key2":"Random key2(base64)"}[garbage data(base64)]
Thanks, that was helpful. It means that the patch I attached is incomplete because the first chunk may already have been buffered after reading the response headers. The fix is to return early if there's data in the buffer. I'll attach an improved patch. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.