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

Wrong default port 80 assumed when creating handshake request over secure websocket connection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.5.0 RC
    • 5.3.0
    • WebSockets
    • None
    • 311f231f8b308b10e1b355ae366505c8ffadf86f

      When a secure websocket connection is opened without specifying a port (e.g. wss://echo.websocket.org), then the `createHandshake()` in `QWebSocketPrivate::processStateChanged()` method wrongly defaults to port 80. This should be 80 for non-secure websockets and 443 for secure websockets.

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

            liaqi Liang Qi
            kurt.pattyn Kurt Pattyn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes