http://bugs.winehq.org/show_bug.cgi?id=36937 --- Comment #7 from Bruno Jesus <00cpxxx(a)gmail.com> --- (In reply to Andreas from comment #5)
Created attachment 49223 [details] Since the connection to test.winehq.org times out after 5 seconds, winhttp will afterwards continue regularly... So the only way to test this is that the response takes less than these 5 seconds...
That's why we have copies of HTTP headers [1] in the test and use a local socket server to test. If you see the test example I gave you I'm introducing a new HTTP responder header and adding it to be accessed through the server [2], if you do the same there won't be a need to connect to an external server. [1] http://source.winehq.org/git/wine.git/blob/HEAD:/dlls/winhttp/tests/winhttp.... [2] http://source.winehq.org/git/wine.git/blob/HEAD:/dlls/winhttp/tests/winhttp.... // comments are not allowed in C, use /* */ instead. The test cannot depend on timing IMO. -- 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.