possible fix to http downloader error in web_peer_connection.cpp
This commit is contained in:
@@ -848,7 +848,7 @@ namespace libtorrent
|
|||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (bytes_transferred == 0)
|
if (bytes_transferred == 0 || payload_transferred == 0)
|
||||||
{
|
{
|
||||||
#ifdef TORRENT_DEBUG
|
#ifdef TORRENT_DEBUG
|
||||||
TORRENT_ASSERT(m_statistics.last_payload_downloaded()
|
TORRENT_ASSERT(m_statistics.last_payload_downloaded()
|
||||||
|
Reference in New Issue
Block a user