Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/network/access/qhttpnetworkreply.cpp b/src/network/access/qhttpnetworkreply.cpp
- index 85463ee..7f41fc1 100644
- --- a/src/network/access/qhttpnetworkreply.cpp
- +++ b/src/network/access/qhttpnetworkreply.cpp
- @@ -745,6 +745,9 @@ qint64 QHttpNetworkReplyPrivate::readReplyBodyChunked(QAbstractSocket *socket, Q
- }
- // if the chunk size is 0, end of the stream
- if (currentChunkSize == 0) {
- + char crlf[2];
- + // read the "\r\n" after the chunk
- + socket->read(crlf, 2);
- state = AllDoneState;
- break;
- }
Add Comment
Please, Sign In to add comment