[Bug 27865] New: Winhttprequest doesn't work with https
http://bugs.winehq.org/show_bug.cgi?id=27865 Summary: Winhttprequest doesn't work with https Product: Wine Version: 1.3.24 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winhttp AssignedTo: wine-bugs(a)winehq.org ReportedBy: ocean04(a)suomi24.fi Tried several https urls, none worked. Tested with example from bug 26353 (I've increased timeout 10 -> 60, for some reason most https urls load very slowly in wine) Here is pretty simple page: https://msp.f-secure.com/web-test/common/test.html copy/paste url and click "download" Here is few lines from winhttp log. It receives line, then waits 60 seconds. "warn" comes after timeout. trace:winhttp:netconn_get_next_line received line "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">" trace:winhttp:send_callback 0x13bf20, 0x00200000, 0x66e988, 8 trace:winhttp:release_object object 0x13bf20 refcount = 1 warn:winhttp:wait_for_completion wait failed with error 258 winetricks winhttp works -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=27865 ocean04(a)suomi24.fi changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source URL| |http://netikka.net/dev/winh | |ttp.exe -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=27865 --- Comment #1 from Hans Leidekker <hans(a)meelstraat.net> 2011-07-22 14:22:47 CDT --- This server doesn't return any headers, not even a status line, but the test works on Windows. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=27865 --- Comment #2 from Hans Leidekker <hans(a)meelstraat.net> 2011-07-23 03:57:45 CDT --- We have a test which shows that WinHttpReceiveResponse fails if the server doesn't return any headers. So it looks like IWinHttpRequest::WaitForResponse must ignore this error. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=27865 --- Comment #3 from ocean04(a)suomi24.fi 2011-07-23 05:07:23 CDT --- What you mean by "server doesn't return any headers"? I get these (Windows) Date: Sat, 23 Jul 2011 09:53:51 GMT Content-Length: 1436 Content-Type: text/html Last-Modified: Mon, 09 May 2011 13:00:04 GMT X-Powered-By: Servlet/2.5 JSP/2.1 Set-Cookie: MSPLB=msp.msp1f02; path=/ Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Here is few other urls I tested. (All work after winetricks winhttp) https://webmail.mbnet.fi/src/login.php https://w3mail.netikka.fi/horde/imp/ https://mail.google.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=27865 --- Comment #4 from Hans Leidekker <hans(a)meelstraat.net> 2011-07-23 06:52:44 CDT --- (In reply to comment #3)
What you mean by "server doesn't return any headers"? I get these (Windows)
Date: Sat, 23 Jul 2011 09:53:51 GMT Content-Length: 1436 Content-Type: text/html Last-Modified: Mon, 09 May 2011 13:00:04 GMT X-Powered-By: Servlet/2.5 JSP/2.1 Set-Cookie: MSPLB=msp.msp1f02; path=/ Keep-Alive: timeout=15, max=100 Connection: Keep-Alive
Is that from observing traffic or from running some tool? Note that the server response may depend on the exact query. This is what we send: GET /web-test/common/test.html HTTP/1.1\r\nHost: msp.f-secure.com\r\nConnection: Keep-Alive\r\n\r\n Can you find out what winhttp.exe sends on Windows? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=27865 --- Comment #5 from ocean04(a)suomi24.fi 2011-07-24 05:00:16 CDT --- I used getallresponseheaders. Sample with responseheaders, status and statustext. http://netikka.net/dev/winhttp51.exe (Windows / with winetricks) Don't know how it's be possible to see what winhttp sends, except service like: http://pgl.yoyo.org/http/browser-headers.php Accept: */* User-Agent: Mozilla/4.0 (compatible; Win32; WinHttp.WinHttpRequest.5) Host: pgl.yoyo.org Connection: Keep-Alive -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=27865 Hans Leidekker <hans(a)meelstraat.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #6 from Hans Leidekker <hans(a)meelstraat.net> 2011-07-26 12:16:21 CDT --- Fixed by 80d17a79ff0074eb961a4508955b2c146c13ca29. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=27865 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #7 from Alexandre Julliard <julliard(a)winehq.org> 2011-08-05 12:38:38 CDT --- Closing bugs fixed in 1.3.26. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
participants (1)
-
wine-bugs@winehq.org