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

HTTP2 protocol upgrade is broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.15.0 Beta4
    • 5.14.1
    • Network: HTTP
    • None
    • Qt 5.14.1 on linux, but I guess it affects all platforms and all Qt versions that support HTTP2
    • All
    • 603eaa9fbb250ce1f4ec5a5a9750a115ef08a956 (qt/qtbase/5.15)

    Description

      When HTTP2 is enabled for a http (plain) request and the server supports HTTP2 upgrade, Qt does not send the HTTP/2 Connection Preface (magic) after the "HTTP/1.1 101 Switching Protocols" response is received. From what I read in the RFCs, it's hard to say if the client is really required to do so when the connection is upgraded, but:

      1. The connection hangs until a connection timeout on real HTTP2 servers
      2. curl sends the magic (and the same servers that hang with Qt work with curl)

      Attachments

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

        Activity

          People

            tpochep Timur Pocheptsov
            tumic Martin Tůma
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes