merged ut_metadata crash fix from RC_0_16

This commit is contained in:
Arvid Norberg 2013-01-07 04:20:45 +00:00
parent c14916e119
commit 50d80f012b
2 changed files with 3 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
* fixed rare crash in ut_metadata extension
* fixed files checking issue
* added missing pop_alerts() to python bindings
* fixed typos in configure script, inversing some feature-enable/disable flags

View File

@ -405,6 +405,8 @@ namespace libtorrent { namespace
void maybe_send_request()
{
if (m_pc.is_disconnecting()) return;
// if we don't have any metadata, and this peer
// supports the request metadata extension
// and we aren't currently waiting for a request