diff --git a/src/session_impl.cpp b/src/session_impl.cpp index d2fd678fc..954efecab 100644 --- a/src/session_impl.cpp +++ b/src/session_impl.cpp @@ -4089,14 +4089,14 @@ namespace aux { { --hard_limit; --type_limit; -#if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_ERROR_LOGGING || defined TORRENT_LOGGING +#if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_LOGGING t->log_to_all_peers(("AUTO MANAGER STARTING TORRENT: " + t->torrent_file().name()).c_str()); #endif t->set_allow_peers(true); } else { -#if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_ERROR_LOGGING || defined TORRENT_LOGGING +#if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_LOGGING t->log_to_all_peers(("AUTO MANAGER PAUSING TORRENT: " + t->torrent_file().name()).c_str()); #endif // use graceful pause for auto-managed torrents diff --git a/src/udp_socket.cpp b/src/udp_socket.cpp index 9dfe3e1be..8aedf1a60 100644 --- a/src/udp_socket.cpp +++ b/src/udp_socket.cpp @@ -385,6 +385,8 @@ void udp_socket::on_read_impl(udp::socket* s, udp::endpoint const& ep && e != asio::error::connection_refused && e != asio::error::connection_aborted && e != asio::error::operation_aborted + && e != asio::error::network_reset + && e != asio::error::network_unreachable #ifdef WIN32 // ERROR_MORE_DATA means the same thing as EMSGSIZE && e != error_code(ERROR_MORE_DATA, get_system_category())