jgauffin / Griffin.Framework

Application framework for Business Applications
http://griffinframework.net
168 stars 63 forks source link

Unhandled exception if connection is aborted after EndAcceptSocket(). #42

Closed PhonicUK closed 9 years ago

PhonicUK commented 9 years ago

If after accepting a request the connection is forcefully aborted, it will cause an unhandled exception that will take out the app it's running in.

To fix, in ChannelTcpListener.cs/OnAcceptSocket - the EndAcceptSocket call should be inside the try block.

jgauffin commented 9 years ago

fixed in the attach pull request. Thanks.