HomePhabricator

net: don't send any messages before handshake or after requested disconnect

Description

net: don't send any messages before handshake or after requested disconnect

Also, send reject messages earlier in SendMessages(), so that disconnections are
processed earlier.

These changes combined should ensure that no message is ever sent after
fDisconnect is set.

Details

Provenance
Cory Fields <cory-nospam-@coryfields.com>Authored on Nov 9 2016, 19:17
deadalnixPushed on May 14 2017, 22:04
Parents
rABCd74e352e0136: net: Set feelers to disconnect at the end of the version message
Branches
Unknown
Tags
Unknown

Event Timeline

Cory Fields <cory-nospam-@coryfields.com> committed rABCfedea8a14d48: net: don't send any messages before handshake or after requested disconnect (authored by Cory Fields <cory-nospam-@coryfields.com>).Nov 24 2016, 00:53