lt sync 2781
This commit is contained in:
parent
a37d739b0b
commit
158bfbcb6e
@ -336,7 +336,7 @@ void http_connection::callback(error_code const& e, char const* data, int size)
|
|||||||
if (!m_bottled || !m_called)
|
if (!m_bottled || !m_called)
|
||||||
{
|
{
|
||||||
std::vector<char> buf;
|
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");
|
std::string const& encoding = m_parser.header("content-encoding");
|
||||||
if (encoding == "gzip" || encoding == "x-gzip")
|
if (encoding == "gzip" || encoding == "x-gzip")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user