From 158bfbcb6e3d26552419935a225f136b07cae6d0 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Fri, 10 Oct 2008 05:00:40 +0000 Subject: [PATCH] lt sync 2781 --- libtorrent/src/http_connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtorrent/src/http_connection.cpp b/libtorrent/src/http_connection.cpp index 5158796b6..73904dae6 100644 --- a/libtorrent/src/http_connection.cpp +++ b/libtorrent/src/http_connection.cpp @@ -336,7 +336,7 @@ void http_connection::callback(error_code const& e, char const* data, int size) if (!m_bottled || !m_called) { std::vector buf; - if (m_bottled && m_parser.finished()) + if (m_bottled && m_parser.header_finished()) { std::string const& encoding = m_parser.header("content-encoding"); if (encoding == "gzip" || encoding == "x-gzip")