http://bugs.winehq.org/show_bug.cgi?id=35953
Bug ID: 35953 Summary: FFXIV: ARR - Launcher requires native winhttp to run. Product: Wine Version: 1.7.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winhttp Assignee: wine-bugs@winehq.org Reporter: narthorn@gmail.com
Created attachment 48024 --> http://bugs.winehq.org/attachment.cgi?id=48024 Screenshot of the actual error along terminal output without debug trace.
When using built-in winhttp, trying to launch Final Fantasy XIV - A Realm Reborn fails at the very start of the launch process, where the launcher sends an HTTP request to check if a newer version of the launcher is available.
When no new version is available, the server replies with status code 204: No Content.
However, builtin wine seems to misreport 4294967295 (2^32-1) bytes of available data in the response, as shown by this tiny snippet of trace:
0034:trace:winhttp:query_headers returning data: L"HTTP/1.1 204 No Content\r\nServer: nginx\r\nContent-Type: text/html; charset=UTF-8\r\nX-Patch-Module: ZiPatch\r\nX-Protocol: http\r\nX-Latest-Version: 2014.04.02.0000.0001\r\nDate: Sun, 06 Apr 2014 08:24:14 GMT\r\nConnection: keep-alive\r\n" 0034:trace:winhttp:WinHttpQueryDataAvailable 0x3, (nil) 0034:trace:winhttp:send_callback 0x131718, 0x00040000, 0xbbe91c, 4 0034:trace:winhttp:WinHttpReadData 0x3, 0x7de230, 1024, (nil) 0035:trace:winhttp:read_data retrieved 1024 bytes (1024/4294967295) 0035:trace:winhttp:send_callback 0x131718, 0x00080000, 0x7de230, 1024 0034:trace:winhttp:query_data_available 4294967295 bytes available
When using native winhttp, no calls to WinHttpReadData are made.