possible fix to http downloader error in web_peer_connection.cpp
This commit is contained in:
parent
f49bc42cae
commit
985d96f237
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue