Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P1: Critical
-
Resolution: Done
-
Affects Version/s: 5.15.0 Beta4
-
Fix Version/s: 5.15.1
-
Component/s: Network: HTTP
-
Labels:None
-
Environment:Windows 10 / Qt 5.15.0 Beta 4 SingleThreaded / emsdk 1.39.8
Chrome Version 81.0.4044.122 (Offizieller Build) (64-Bit)
-
Platform/s:
-
Commits:b2e998d4678b82f823d24f3c97d78dec034f4e71 (qt/qtbase/5.15) 3d452492c6c8e8e67f92f8ca573ac045843227b6 (qt/qtbase/dev)
-
Epic Link:
Description
The attached example performs a HTTP-Request to a webserver and an invalid port that always will fail. There is a timeout that calls abort after 3 seconds to stop the running request.
It does not work with Qt 5.15.0 Beta 4(emsdk 1.39.8) Single/Multithreaded.
It works if the app is built for Windows.
It worked with Qt 5.14.0 Beta 2(emsdk 1.39.0).
I also tested it with the new QNetworkRequest::setTransferTimeout instead of the timer,
this works in Windows but fails in the browser too.
I attached the project to reproduce and the built wasm apps.