[Bug 36937] WinHttpReceiveRequest goes into infinite blocking on 304 responses

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Aug 9 10:17:58 CDT 2014


http://bugs.winehq.org/show_bug.cgi?id=36937

--- Comment #10 from Andreas <anduchs at gmail.com> ---
(In reply to Bruno Jesus from comment #9)
> WinHttpOpen: 1
> WinHttpConnect: 2
> WinHttpOpenRequest: 3
> WinHttpSendRequest: 1:0
> WinHttpReceiveResponse: 1:2f76 <<=== error 12150
> (ERROR_WINHTTP_HEADER_NOT_FOUND)
> WinHttpQueryHeaders-size: 0:7a
> WinHttpQueryHeaders-data: 1:7a
> Header contents: 
> H
> Done!

Actually, that's not an error, since the return of WinHttpReceiveResponse is
TRUE, the part after the : is just a leftover from winhttp internally.

The Bug is triggered, if ReceiveResponse takes 5 Seconds: In this case, winhttp
hangs until the server timesout the connection and closes it.

The Bug is not present, if ReceiveResponse returns immediately.

(P.S. if a 404 is returned, then it also returns immediately in all cases. I
should probably have checked this)


The effect on MarvelHeroes 2015 is the following: The server's timeout is 15
Seconds and the game hangs this long. After the timeout, the game does not like
the response anymore, or the server does not or something like this and the
patcher does not continue...

I'm wondering if one could trigger a FALSE and LastError() if winhttp gets a
timeout shorter than the server's timeout...

I hope, this could clear things up...

-- 
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.



More information about the wine-bugs mailing list