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

QWebsocketHandshakeRequest: readHandshake method cannot set host if port is specified in web socket connection.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.4.2
    • 5.3.0
    • WebSockets
    • None
    • WIN 7 Ultimate/64, Visual Studio 2012 Professional
    • 85a8ea105646c7d871f982b890ef5f6faa91824d

      If you try to connet to a websocket using host and port the m_requestUrl.setHost(host) method fails. This failure is not checked. Additionally the check for validity is wrong.
      Thus leading to a wrong socket->resourceName.

      Resouce Name must be path of URL and must not contain a scheme Information.
      Can also be found in the Simple Chat Server.

        For Gerrit Dashboard: QTBUG-39355
        # Subject Branch Project Status CR V

            liaqi Liang Qi
            neumeierc Christian Neumeier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes