Skip to content

Commit

Permalink
don't finish off response errors
Browse files Browse the repository at this point in the history
  • Loading branch information
atmos committed Jun 30, 2011
1 parent b5cf4fe commit 93feae8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions server.coffee
Expand Up @@ -126,8 +126,8 @@ server = Http.createServer (req, resp) ->
srcResp.on 'end', ->
finish resp

srcResp.on 'error', ->
finish resp
# srcResp.on 'error', ->
# finish resp

switch srcResp.statusCode
when 200
Expand Down
7 changes: 2 additions & 5 deletions server.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 93feae8

Please sign in to comment.