lt sync 2781

This commit is contained in:
Andrew Resch 2008-10-10 05:00:40 +00:00
parent a37d739b0b
commit 158bfbcb6e

View file

@ -336,7 +336,7 @@ void http_connection::callback(error_code const& e, char const* data, int size)
if (!m_bottled || !m_called)
{
std::vector<char> 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")