fixed tracker timeout handling
This commit is contained in:
@@ -239,8 +239,14 @@ namespace libtorrent
|
||||
send_udp_connect();
|
||||
}
|
||||
|
||||
void udp_tracker_connection::on_timeout()
|
||||
void udp_tracker_connection::on_timeout(error_code const& ec)
|
||||
{
|
||||
if (ec)
|
||||
{
|
||||
fail(ec);
|
||||
return;
|
||||
}
|
||||
|
||||
#if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_LOGGING || defined TORRENT_ERROR_LOGGING
|
||||
boost::shared_ptr<request_callback> cb = requester();
|
||||
char msg[200];
|
||||
|
Reference in New Issue
Block a user