fixed bug in udp tracker scrape response parsing

This commit is contained in:
Arvid Norberg 2010-05-08 20:51:26 +00:00
parent 2e34bef04c
commit 056b53ee08
2 changed files with 1 additions and 2 deletions

View File

@ -28,6 +28,7 @@
incoming connection
* added more detailed instrumentation of the disk I/O thread
* fixed bug in udp tracker scrape response parsing
* fixed bug in the disk thread that could get triggered under heavy load
* fixed bug in add_piece() that would trigger asserts
* fixed vs 2010 build

View File

@ -491,8 +491,6 @@ namespace libtorrent
void udp_tracker_connection::on_scrape_response(char const* buf, int size)
{
buf += 8; // skip header
restart_read_timeout();
int action = detail::read_int32(buf);
int transaction = detail::read_int32(buf);