Catch SIGPIPE so that we can shutdown properly. This turns out to be quite challenging seeing as we get SIGPIPE from both network sockets and stdout, so we then attempt to write to stdout to see if it errors. Ref T6.
Catch SIGPIPE so that we can shutdown properly. This turns out to be quite challenging seeing as we get SIGPIPE from both network sockets and stdout, so we then attempt to write to stdout to see if it errors.
Ref T6.

--HG--
branch : T6

goshawkdb/server