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

Authentication doesn't work with SPDY

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P2: Important P2: Important
    • Some future release
    • 5.3.0 Alpha, 5.3.0 Beta1, 5.3.0 RC1, 5.3.0, 5.3.1
    • Network: HTTP
    • None
    • Reproduced with Qt5.3.0 and 5.3.1.
      Only tested on Linux, but doesn't seems OS-dependent.

      When using authentication (Basic, Digest...) with SPDY enabled, Qt doesn't emit any QNetworkAccessManager::authenticationRequired, and simply emit a QNetworkReply::error on the corresponding reply with QNetworkReply::AuthenticationRequiredError as argument.
      After browsing the code a bit, Qt doesn't seem to check for 401 or 407 and handle it as an error.

      I joined a little client displaying the behavior, but you will need a SPDY-enabled webserver, with any type of authentication supported by Qt enabled, to test it. When using SPDY and the authentication together, authenticationRequired will not be called and the connection will end with an error.

        1. qtdiag
          3 kB
        2. spdytest.cpp
          3 kB
        3. spdytest.pro
          0.1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            peter-har Peter Hartmann
            lobr Louis Brunner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes