mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
1
Makefile
1
Makefile
@@ -191,6 +191,7 @@ UVTEST += simple/test-readuint
|
||||
UVTEST += simple/test-regress-GH-746
|
||||
UVTEST += simple/test-regress-GH-819
|
||||
UVTEST += simple/test-regress-GH-897
|
||||
UVTEST += simple/test-regress-GH-1531
|
||||
UVTEST += simple/test-regression-object-prototype
|
||||
UVTEST += simple/test-repl
|
||||
UVTEST += simple/test-require-cache
|
||||
|
||||
@@ -316,7 +316,11 @@ function onread(buffer, offset, length) {
|
||||
if (self.onend) self.onend();
|
||||
} else {
|
||||
// Error
|
||||
self.destroy(errnoException(errno, 'read'));
|
||||
if (errno == 'ECONNRESET') {
|
||||
self.destroy();
|
||||
} else {
|
||||
self.destroy(errnoException(errno, 'read'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user