Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.4.1
-
None
-
Windows 7
Description
QML is observed to have some inconsistency with the XMLHttpRequest interface when the multiple open/close sequence is attempted to the server that pumps data stream.
The connections are not closed by QML even after invoking abort() on the XHR instance. This results in eventually having multiple open sockets that collects data and new Open() requests does not yield results.
The abort() call should not be waiting for the Server to finish or close the connection.
The attached application can reproduce the issue with XMLHttpRequest interface.
Test Setup:
- Need a server that pumps data stream. For example, a server that pumps W3C Server-Sent Events could be used - https://simpl.info/eventsource/index.php
- Custom URL's can be configured in "main.qml"
- Run the attached application
- Click on the Enable/Disable buttons to Open/Close XHR instances respectively (need to repeat quickly few times)
Expected:
The application continues to display data from Server
Observation:
After few repeats of step-3, the application no more receives data.