diff options
author | Shane Kearns <ext-shane.2.kearns@nokia.com> | 2012-04-13 18:05:33 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-19 19:46:07 +0200 |
commit | af100dbd7e23076f8873f9ee8847d1ac90bb1700 (patch) | |
tree | d22ffeea04285d446bfecbd7fee89dad510bef30 /mkspecs/linux-lsb-g++ | |
parent | ddf040eccb56098db4f81a72fd9db0010697da94 (diff) |
Abort background requests if policy changes to disallow them
Using the policy change signal from QNetworkSession.
If the new policy disallows background requests and this is a
background request, then generate an error.
This results in a TCP RST on the socket, and a
BackgroundRequestNotAllowedError on the QNetworkReply.
If the reply is already finished, no action is taken.
Change-Id: I4ff5c681a8b7b852727bb95f03664d666f4efe07
Reviewed-by: Martin Petersson <Martin.Petersson@nokia.com>
Diffstat (limited to 'mkspecs/linux-lsb-g++')
0 files changed, 0 insertions, 0 deletions