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

QtHttpServer crashes when CONNECT method is used

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 6.0
    • Fix Version/s: None
    • Component/s: Network: HTTP
    • Labels:
      None
    • Commits:
      4b87afbbe6132b03d114cce1cbb7958cf1f3bac8

      Description

      QtHttpServer crashes with the request like below

      #include <QCoreApplication>
      #include <QTcpSocket>

      int main(int argc, char *argv[])

      { QCoreApplication app(argc, argv); QTcpSocket socket; socket.connectToHost("localhost", 8080); socket.waitForConnected(); socket.write("CONNECT / HTTP/1.1\n\n"); socket.waitForBytesWritten(); return 0; }

        Attachments

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

          Activity

            People

            Assignee:
            tasuku.suzuki Tasuku Suzuki
            Reporter:
            tasuku.suzuki Tasuku Suzuki
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes