mochi/mochiweb — pull request #80 by jdhood1 (2012-07-02 13:24:34+00:00)
Title: Avoid unnecessary socket exceptions

When body is empty, do not issue a second gen_tcp:send() because the client may have already closed the socket