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

HTTP2 Error handling is broken when Http2DirectAttribute is enabled

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        For Gerrit Dashboard: QTBUG-78310
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes