Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.7.1
-
None
Description
Observed bug was long delays connecting between certain combinations of machines. Debugging with wireshark showed that when an IP6 hostname is discovered, QtWebSocket asks QTcpSocket to use its default behaviour of trying IPv6, and then, after a 30 second timeout, trying IPv4.
It would be better if QtWebSocket tried both layers in parallel (as QNetworkAccessManager's QHttpConnect class does), since I guess changing this behaviour at the QAbstractSocket level is risky.