udp socket debugging and asserts

This commit is contained in:
Arvid Norberg
2010-02-21 20:15:07 +00:00
parent cebb0b8212
commit b96e0a448e
3 changed files with 15 additions and 2 deletions

View File

@@ -81,6 +81,7 @@ namespace libtorrent
, m_attempts(0)
, m_state(action_error)
{
TORRENT_ASSERT(refcount() == 1);
m_socket.set_proxy_settings(proxy);
}