From 3971897c14fc06566a52ac5fceb9c30ea3022dc4 Mon Sep 17 00:00:00 2001 From: arvidn Date: Sun, 24 Dec 2017 11:27:52 +0100 Subject: [PATCH] remove invalid assert --- src/http_parser.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/http_parser.cpp b/src/http_parser.cpp index d41fdf44a..541b327c9 100644 --- a/src/http_parser.cpp +++ b/src/http_parser.cpp @@ -386,8 +386,6 @@ restart_response: if (chunk_size == 0) { m_finished = true; - TORRENT_ASSERT(m_content_length < 0 || m_recv_pos - m_body_start_pos - - m_chunk_header_size == m_content_length); } header_size -= m_partial_chunk_header; m_partial_chunk_header = 0;