Fix recursive BrokenPipeException on disconnect
authorJeremy Stanley <fungi@yuggoth.org>
Tue, 23 Feb 2016 22:32:27 +0000 (22:32 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Tue, 23 Feb 2016 22:32:27 +0000 (22:32 +0000)
When an admin user has a broken pipe, attempting to log
BrokenPipeException errors to their socket raises another until the
max recursion depth is hit. Set the current user's state to
disconnecting before logging the error instead of after, so as to
avoid this loop.


No differences found