merged pex fix from RC_0_16
This commit is contained in:
parent
ccac303f0b
commit
66a9f31ebf
|
@ -9,6 +9,7 @@
|
||||||
* fix uTP edge case where udp socket buffer fills up
|
* fix uTP edge case where udp socket buffer fills up
|
||||||
* fix nagle implementation in uTP
|
* fix nagle implementation in uTP
|
||||||
|
|
||||||
|
* improve peers exchanged over PEX
|
||||||
* fixed rare crash in ut_metadata extension
|
* fixed rare crash in ut_metadata extension
|
||||||
* fixed files checking issue
|
* fixed files checking issue
|
||||||
* added missing pop_alerts() to python bindings
|
* added missing pop_alerts() to python bindings
|
||||||
|
|
|
@ -78,6 +78,7 @@ namespace libtorrent { namespace
|
||||||
if (!p.is_outgoing() && !p.received_listen_port()) return false;
|
if (!p.is_outgoing() && !p.received_listen_port()) return false;
|
||||||
// don't send out peers that we haven't successfully connected to
|
// don't send out peers that we haven't successfully connected to
|
||||||
if (p.is_connecting()) return false;
|
if (p.is_connecting()) return false;
|
||||||
|
if (p.in_handshake()) return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue