net: fix a few cases where messages were sent rather than dropped upon disconnection
commit905bc68d05595f41cca36b3df83accd10c00cc48
authorCory Fields <cory-nospam-@coryfields.com>
Tue, 13 Sep 2016 01:32:53 +0000 (12 21:32 -0400)
committerCory Fields <cory-nospam-@coryfields.com>
Sat, 1 Oct 2016 23:13:10 +0000 (1 19:13 -0400)
tree6f391166fd935f53695f988e28a633ba1ab24607
parent6faffb8a83db3f209a303a4464dbdd597faad5a4
net: fix a few cases where messages were sent rather than dropped upon disconnection

75ead758 turned these into crashes in the event of a handshake failure, most
notably when a peer does not offer the expected services.

There are likely other cases that these assertions will find as well.
src/main.cpp