gserv
gserv copied to clipboard
Need better error message when client connection is broken before request finishes.
Now, we trap the error writing but then we try, again, to write to the disconnected client. Then we get the "insufficient bytes written to stream" message because we already set the Content-Length in the header but we are trying to write out less.