Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2010-04-30 21:28:18 +0400
committerRyan Dahl <ry@tinyclouds.org>2010-04-30 21:29:35 +0400
commit3b323027be86aa13bdd497aac7b12a8c60b2b65c (patch)
tree8372249ee9ce0df5f7a09ef4c3bbaf45ab152b5a /lib/http.js
parent557ba6bd97bad3afe0f9bd3ac07efac0a39978c1 (diff)
http server emits 'clientError'
Diffstat (limited to 'lib/http.js')
-rw-r--r--lib/http.js2
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) {