Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Tags
    3. timeout
    Log in to post

    • UNSOLVED Which QNetworkReply error for connection timeout ?
      Qt for WebAssembly • webassembly timeout 5.15 • • Mixlu  

      2
      0
      Votes
      2
      Posts
      58
      Views

      I just saw that a QNetworkReply::TimeoutError code exists. Shouldn't this code be set when a timeout occurred ? Is this a bug or did I misunderstand something ?
    • SOLVED Correct code to prevent memory leak with QNAM HTTP Get request to nonexistent URL with Qt 5.14.2
      General and Desktop • qnetworkaccessm qt5.14.2 timeout http get qnam • • WilliamJ  

      5
      0
      Votes
      5
      Posts
      27
      Views

      Thank you Christian! https://bugreports.qt.io/browse/QTBUG-88063 describes exactly what I've been seeing.
    • SOLVED Setting timeout for QLabel-Text without Signals&Sots
      General and Desktop • timeout sleep • • TUStudi  

      3
      0
      Votes
      3
      Posts
      52
      Views

      @JonB Thank you!
    • UNSOLVED QSqlquery exec timeout
      General and Desktop • qsqldatabase qsqlquery qt 5.12 exec timeout • • BartoszPaj  

      5
      0
      Votes
      5
      Posts
      272
      Views

      Process still block, when I lost connection.
    • UNSOLVED QWebSocket open timeout
      General and Desktop • websocket timeout • • mistralegna  

      2
      0
      Votes
      2
      Posts
      2210
      Views

      @mistralegna AFAIK, You can set bool QAbstractSocket::isValid() const on the given address provided. you can also get error signal from the websocket, if it is not valid address. void QAbstractSocket::error(QAbstractSocket::SocketError socketError). check here . But , the isvlaid() is not very efficient like in your case WS:// instead of WSS://. Because to my knowledge isValid() says true to any address , if it is inform of address/standard way of address. In your cases, I prefer to use Regular Expression before connection to socket.
    • MySQL option MYSQL_OPT_CONNECT_TIMEOUT ignored
      General and Desktop • mysql connection timeout • • szergejbubka  

      5
      0
      Votes
      5
      Posts
      3784
      Views

      mysql_options called with MYSQL_OPT_CONNECT_TIMEOUT returns 0 (success) both for mysql and mariadb libraries.