| Index: net/http/http_chunked_decoder.cc
|
| diff --git a/net/http/http_chunked_decoder.cc b/net/http/http_chunked_decoder.cc
|
| index 619c9a13471cae312a3a91b78cb685a9702af933..1f6ef0d3cb532f209f99292525f9fdac94252ac5 100644
|
| --- a/net/http/http_chunked_decoder.cc
|
| +++ b/net/http/http_chunked_decoder.cc
|
| @@ -116,11 +116,11 @@ int HttpChunkedDecoder::ScanForChunkRemaining(const char* buf, int buf_len) {
|
| reached_eof_ = true;
|
| }
|
| } else if (chunk_terminator_remaining_) {
|
| - if (buf_len) {
|
| - DLOG(ERROR) << "chunk data not terminated properly";
|
| - return ERR_INVALID_CHUNKED_ENCODING;
|
| - }
|
| - chunk_terminator_remaining_ = false;
|
| + if (buf_len) {
|
| + DLOG(ERROR) << "chunk data not terminated properly";
|
| + return ERR_INVALID_CHUNKED_ENCODING;
|
| + }
|
| + chunk_terminator_remaining_ = false;
|
| } else if (buf_len) {
|
| // Ignore any chunk-extensions.
|
| size_t index_of_semicolon = base::StringPiece(buf, buf_len).find(';');
|
|
|