diff options
author | Shane Kearns <shane.kearns@accenture.com> | 2011-10-03 15:27:34 (GMT) |
---|---|---|
committer | Shane Kearns <shane.kearns@accenture.com> | 2011-10-04 12:11:45 (GMT) |
commit | 8610ee14b8636641651a8ba6040cca16c4141ed6 (patch) | |
tree | 261f0a2cf38e47e86fa079886861f2bc56be1ffa /doc/src/snippets/code/src_script_qscriptvalue.cpp | |
parent | c9ff25ec9ca7a9c00e4aea7b7ff23e34064a2a1f (diff) | |
download | Qt-8610ee14b8636641651a8ba6040cca16c4141ed6.zip Qt-8610ee14b8636641651a8ba6040cca16c4141ed6.tar.gz Qt-8610ee14b8636641651a8ba6040cca16c4141ed6.tar.bz2 |
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
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptvalue.cpp')
0 files changed, 0 insertions, 0 deletions