summaryrefslogtreecommitdiffstats
path: root/src/network/access/qhttpnetworkconnectionchannel_p.h
diff options
context:
space:
mode:
authorMartin Petersson <martin.petersson@nokia.com>2011-03-04 11:13:20 (GMT)
committerMartin Petersson <martin.petersson@nokia.com>2011-03-04 11:16:51 (GMT)
commit7458c4bb9a0f6f925cb6002d3b664bbbc21e75ef (patch)
tree6d2ff904d2882caa753e0657c0af9a2049b97edf /src/network/access/qhttpnetworkconnectionchannel_p.h
parentb2544e10f4b575b41ff91ad72d2d7186ac3109e5 (diff)
downloadQt-7458c4bb9a0f6f925cb6002d3b664bbbc21e75ef.zip
Qt-7458c4bb9a0f6f925cb6002d3b664bbbc21e75ef.tar.gz
Qt-7458c4bb9a0f6f925cb6002d3b664bbbc21e75ef.tar.bz2
QNAM HTTP: Fix the ioPostToHttpFromSocket auto test
Introduced a ClosingState for the channel to better track the state of the socket. Reviewed-by: Markus Goetz
Diffstat (limited to 'src/network/access/qhttpnetworkconnectionchannel_p.h')
-rw-r--r--src/network/access/qhttpnetworkconnectionchannel_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/access/qhttpnetworkconnectionchannel_p.h b/src/network/access/qhttpnetworkconnectionchannel_p.h
index 8cbc689..893d75e 100644
--- a/src/network/access/qhttpnetworkconnectionchannel_p.h
+++ b/src/network/access/qhttpnetworkconnectionchannel_p.h
@@ -95,7 +95,8 @@ public:
WritingState = 2, // writing the data
WaitingState = 4, // waiting for reply
ReadingState = 8, // reading the reply
- BusyState = (ConnectingState|WritingState|WaitingState|ReadingState)
+ ClosingState = 16,
+ BusyState = (ConnectingState|WritingState|WaitingState|ReadingState|ClosingState)
};
QAbstractSocket *socket;
bool ssl;