merged RC_1_1 into master

This commit is contained in:
arvidn 2018-11-29 10:29:56 +01:00
commit fb66419791
1 changed files with 4 additions and 1 deletions

View File

@ -1217,7 +1217,10 @@ namespace {
if (!m_supports_dht_port)
{
m_supports_dht_port = true;
write_dht_port();
// if we're done with the handshake, respond right away, otherwise
// we'll send the DHT port later
if (m_sent_handshake)
write_dht_port();
}
}