merged pex fix from RC_0_16

This commit is contained in:
Arvid Norberg 2013-01-09 07:48:06 +00:00
parent ccac303f0b
commit 66a9f31ebf
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@
* fix uTP edge case where udp socket buffer fills up
* fix nagle implementation in uTP
* improve peers exchanged over PEX
* fixed rare crash in ut_metadata extension
* fixed files checking issue
* added missing pop_alerts() to python bindings

View File

@ -78,6 +78,7 @@ namespace libtorrent { namespace
if (!p.is_outgoing() && !p.received_listen_port()) return false;
// don't send out peers that we haven't successfully connected to
if (p.is_connecting()) return false;
if (p.in_handshake()) return false;
return true;
}