path: root/tests
diff options
authorShane Kearns <>2011-10-03 16:27:34 +0100
committerQt by Nokia <>2011-10-05 18:25:09 +0200
commitaa52c26f094f2e109a96d32aad5d9e46f3fcfbd8 (patch)
treef23c5b6e72361012cf253fc2e57568f353d1a9f8 /tests
parent88ffab79cb4d03b56fe780652b8aa79310733030 (diff)
QNAM - fix poor performance of HEAD request with authentication
QHttpNetworkReply was waiting for a body to be sent for 401 and 407 responses, whereas with a HTTP HEAD request, there will be no body. This delayed the authentication signal until after the http channel is closed by the server after a timeout. For example with the server used for autotesting, the authentication signal is delayed 15 seconds. When the server has a very long timeout, the authentication signal may not be emitted at all. Task-Number: QT-5304 Reviewed-By: Martin Petersson (cherry picked from commit 8610ee14b8636641651a8ba6040cca16c4141ed6) Change-Id: Ie4ce6c598df86ce59910f793fd5ae7c1ccf39f9d Reviewed-on: Reviewed-by: Qt Sanity Bot <> Reviewed-by: Martin Petersson <>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions