equal
deleted
inserted
replaced
84 #include <private/qbytedata_p.h> |
84 #include <private/qbytedata_p.h> |
85 |
85 |
86 QT_BEGIN_NAMESPACE |
86 QT_BEGIN_NAMESPACE |
87 |
87 |
88 class QHttpNetworkConnection; |
88 class QHttpNetworkConnection; |
|
89 class QHttpNetworkConnectionChannel; |
89 class QHttpNetworkRequest; |
90 class QHttpNetworkRequest; |
90 class QHttpNetworkConnectionPrivate; |
91 class QHttpNetworkConnectionPrivate; |
91 class QHttpNetworkReplyPrivate; |
92 class QHttpNetworkReplyPrivate; |
92 class Q_AUTOTEST_EXPORT QHttpNetworkReply : public QObject, public QHttpNetworkHeader |
93 class Q_AUTOTEST_EXPORT QHttpNetworkReply : public QObject, public QHttpNetworkHeader |
93 { |
94 { |
169 qint64 readBody(QAbstractSocket *socket, QByteDataBuffer *out); |
170 qint64 readBody(QAbstractSocket *socket, QByteDataBuffer *out); |
170 qint64 readBodyFast(QAbstractSocket *socket, QByteDataBuffer *rb); |
171 qint64 readBodyFast(QAbstractSocket *socket, QByteDataBuffer *rb); |
171 bool findChallenge(bool forProxy, QByteArray &challenge) const; |
172 bool findChallenge(bool forProxy, QByteArray &challenge) const; |
172 QAuthenticatorPrivate::Method authenticationMethod(bool isProxy) const; |
173 QAuthenticatorPrivate::Method authenticationMethod(bool isProxy) const; |
173 void clear(); |
174 void clear(); |
|
175 void clearHttpLayerInformation(); |
174 |
176 |
175 qint64 readReplyBodyRaw(QIODevice *in, QByteDataBuffer *out, qint64 size); |
177 qint64 readReplyBodyRaw(QIODevice *in, QByteDataBuffer *out, qint64 size); |
176 qint64 readReplyBodyChunked(QIODevice *in, QByteDataBuffer *out); |
178 qint64 readReplyBodyChunked(QIODevice *in, QByteDataBuffer *out); |
177 qint64 getChunkSize(QIODevice *in, qint64 *chunkSize); |
179 qint64 getChunkSize(QIODevice *in, qint64 *chunkSize); |
178 |
180 |
216 bool connectionCloseEnabled; |
218 bool connectionCloseEnabled; |
217 bool forceConnectionCloseEnabled; |
219 bool forceConnectionCloseEnabled; |
218 qint64 currentChunkSize; |
220 qint64 currentChunkSize; |
219 qint64 currentChunkRead; |
221 qint64 currentChunkRead; |
220 QPointer<QHttpNetworkConnection> connection; |
222 QPointer<QHttpNetworkConnection> connection; |
|
223 QPointer<QHttpNetworkConnectionChannel> connectionChannel; |
221 bool initInflate; |
224 bool initInflate; |
222 bool streamEnd; |
225 bool streamEnd; |
223 #ifndef QT_NO_COMPRESS |
226 #ifndef QT_NO_COMPRESS |
224 z_stream inflateStrm; |
227 z_stream inflateStrm; |
225 #endif |
228 #endif |