mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
lt sync 2781
This commit is contained in:
parent
a37d739b0b
commit
158bfbcb6e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue