javaConductor / gserv

GServ: Framework for SPAs and REST based services.
MIT License
49 stars 9 forks source link

Need better error message when client connection is broken before request finishes. #19

Open javaConductor opened 9 years ago

javaConductor commented 9 years ago

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.