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

QWebSocketServer new connection failure when wrapped with try-catch block

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.3.1
    • WebSockets
    • None
    • Windows 8.1
      Qt 5.3.1 for Windows 32-bit (MinGW 4.8.2, OpenGL) failed.
      Qt 5.3.1 for Windows 32-bit (VS 2013) failed.
      Qt 5.3.1 for Windows 64-bit (VS 2013) failed.

      New connection to QWebSocketServer wrapped with try-catch block fails.

      try

      { Server server(1234); }

      catch( ... )

      { qDebug() << "try-catch!"; }

      The server succeeds after `try-catch` block is removed.

      Please refer to the uploaded files.

        1. Server.cpp
          2 kB
          Adam Cavendish
        2. Server.hpp
          0.6 kB
          Adam Cavendish
        3. WebSocketServerTest2.pro
          0.4 kB
          Adam Cavendish
        4. main.cpp
          0.3 kB
          Adam Cavendish
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kurt.pattyn Kurt Pattyn
            shit_adam Adam Cavendish
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes