merged udp socket fix

This commit is contained in:
Arvid Norberg
2012-09-27 17:39:41 +00:00
parent 2f985de420
commit 19e4cbec46
2 changed files with 4 additions and 2 deletions

View File

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