]> git.deb.at Git - rhonda/impostor.hazel.git/commit
Fixed bugs in TCP exception handling and improved some exception messages.
authorJamJar00 <jamster.30@btinternet.com>
Tue, 27 Sep 2016 00:02:05 +0000 (01:02 +0100)
committerJamJar00 <jamster.30@btinternet.com>
Tue, 27 Sep 2016 00:02:05 +0000 (01:02 +0100)
commit0ea4b820022ca06d604c8773b8d56dd5cc25be2d
tree04c33e8bc67e863918589f9a1a8195000351288f
parent961ce0993aad11c552cbc80cad36f43fd2cf1e65
Fixed bugs in TCP exception handling and improved some exception messages.

Previously most exceptions from Socket.BeginReceive in TCP were unhandled when they should have marked a disconnection, this is fixed and now more obvious.

Also TcpConnection.StartListening is no longer needed, simply bootstrap it using StartWaitingForHeader.
Hazel/Tcp/TcpConnection.cs
Hazel/Tcp/TcpConnectionListener.cs