Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-57754

QtWebSocket doesn't expose QAbstractSocket NetworkLayerProtocol

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.7.1
    • WebSockets
    • None

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kurt.pattyn Kurt Pattyn
            zakalawe James Turner
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes