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

HTTP2 Error handling is broken when Http2DirectAttribute is enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.12
    • Network
    • None
    • 0fd6595d5e63fe1db429a0f242c7e98c6d2855f7

      It seems after Http2DirectAttribute was introduced some error cases when connectionType is ConnectionTypeHTTP2, should also be handled when connectionType is ConnectionTypeHTTP2Direct.

       

      Steps to reproduce:

      1. Create QNetworkRequest
      2. setAttribute(QNetworkRequest::Http2DirectAttribute, true);
      3. POST request when server is not started

      Expected behaivor:

      3. Error occured because connection refused

      Actual behaivor:

      3. Nothing happens, reply stays alive till application terminated

       

      See attached application.

      Issue both reproducable with SSL enabled and disabled

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

            tpochep Timur Pocheptsov
            semlanik Alexey Edelev
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes