This commit is contained in:
Arvid Norberg 2007-07-15 14:20:55 +00:00
parent 245793b7a3
commit 6650a34cfd
2 changed files with 0 additions and 6 deletions

View File

@ -391,10 +391,6 @@ private:
break;
}
// don't hand out chunks larger than the throttle
// per second on the torrent
assert(qe.max_block_size <= t->bandwidth_throttle(m_channel));
// so, hand out max_assignable, but no more than
// the available bandwidth (amount) and no more
// than the max_bandwidth_block_size

View File

@ -2010,8 +2010,6 @@ namespace libtorrent
, int block_size
, bool non_prioritized)
{
assert(m_bandwidth_limit[channel].max_assignable() >= block_size);
m_ses.m_bandwidth_manager[channel]->request_bandwidth(p
, block_size, non_prioritized);
m_bandwidth_limit[channel].assign(block_size);