Guest User

Untitled

a guest
Jul 16th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.60 KB | None | 0 0
  1. diff --git a/src/network/access/qhttpnetworkreply.cpp b/src/network/access/qhttpnetworkreply.cpp
  2. index 85463ee..7f41fc1 100644
  3. --- a/src/network/access/qhttpnetworkreply.cpp
  4. +++ b/src/network/access/qhttpnetworkreply.cpp
  5. @@ -745,6 +745,9 @@ qint64 QHttpNetworkReplyPrivate::readReplyBodyChunked(QAbstractSocket *socket, Q
  6.          }
  7.          // if the chunk size is 0, end of the stream
  8.          if (currentChunkSize == 0) {
  9. +            char crlf[2];
  10. +            // read the "\r\n" after the chunk
  11. +            socket->read(crlf, 2);
  12.              state = AllDoneState;
  13.              break;
  14.          }
Add Comment
Please, Sign In to add comment