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

QtWebSocket doesn't expose QAbstractSocket NetworkLayerProtocol

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.7.1
    • WebSockets
    • 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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes