diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-04-30 21:28:18 +0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-04-30 21:29:35 +0400 |
commit | 3b323027be86aa13bdd497aac7b12a8c60b2b65c (patch) | |
tree | 8372249ee9ce0df5f7a09ef4c3bbaf45ab152b5a /lib/http.js | |
parent | 557ba6bd97bad3afe0f9bd3ac07efac0a39978c1 (diff) |
http server emits 'clientError'
Diffstat (limited to 'lib/http.js')
-rw-r--r-- | lib/http.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.js b/lib/http.js index 884fd9a4d8b..b7adee54654 100644 --- a/lib/http.js +++ b/lib/http.js @@ -552,7 +552,7 @@ function connectionListener (socket) { } socket.addListener('error', function (e) { - sys.puts('node http server: ' + e); + self.emit('clientError', e); }); socket.ondata = function (d, start, end) { |