possible fix to http downloader error in web_peer_connection.cpp

This commit is contained in:
Arvid Norberg 2012-06-05 03:12:36 +00:00
parent f49bc42cae
commit 985d96f237
1 changed files with 1 additions and 1 deletions

View File

@ -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()