summaryrefslogtreecommitdiffstats
path: root/src/network/socket/qhttpsocketengine_p.h
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2010-01-06 09:19:23 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2010-01-06 09:52:14 (GMT)
commit0252964248915130f96c2ef9af6149ef5a5da5be (patch)
treeb19fee895347d7e877cc2e51dbbd92059f2690b7 /src/network/socket/qhttpsocketengine_p.h
parentf2a96fbbecb571390449fe98476960f8f7be0951 (diff)
downloadQt-0252964248915130f96c2ef9af6149ef5a5da5be.zip
Qt-0252964248915130f96c2ef9af6149ef5a5da5be.tar.gz
Qt-0252964248915130f96c2ef9af6149ef5a5da5be.tar.bz2
QHttpSocketEngine: Remove unneeded code
There was a buffer that is always empty since it was only used for parsing the HTTP proxy protocol, not the actual socket data. Reviewed-by: Peter Hartmann
Diffstat (limited to 'src/network/socket/qhttpsocketengine_p.h')
-rw-r--r--src/network/socket/qhttpsocketengine_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/socket/qhttpsocketengine_p.h b/src/network/socket/qhttpsocketengine_p.h
index 76430db..1432bfb 100644
--- a/src/network/socket/qhttpsocketengine_p.h
+++ b/src/network/socket/qhttpsocketengine_p.h
@@ -162,7 +162,7 @@ public:
QNetworkProxy proxy;
QString peerName;
QTcpSocket *socket;
- QByteArray readBuffer;
+ QByteArray readBuffer; // only used for parsing the proxy response
QHttpSocketEngine::HttpState state;
QAuthenticator authenticator;
bool readNotificationEnabled;