https://bugs.winehq.org/show_bug.cgi?id=54960
--- Comment #2 from François Gouget fgouget@codeweavers.com --- Also in Wine one gets a crash which would be a bug within the bug:
winhttp.c:3543: Test failed: got 8 winhttp.c:3549: Test failed: got 12019 winhttp.c:3550: Test failed: got 3735928559 Unhandled exception: page fault on write access to 0x0000000000000010 in 64-bit code (0x00000071104850). [...] =>0 0x00000071104850 _InterlockedIncrement(dest=<internal error>) [/home/fgouget/wine/winetest/wow64/../src/include/winnt.h:7016] in winhttp (0x0000000065f878) 1 0x00000071104850 netconn_addref() in winhttp (0x0000000065f878) 2 0x00000071115ff2 WinHttpWebSocketCompleteUpgrade+0x182(hrequest=<internal error>, context=<internal error>) [/home/fgouget/wine/winetest/wow64/../src/dlls/winhttp/request.c:3411] in winhttp (0x0000000065f878)