mirror of
https://github.com/nodejs/node.git
synced 2025-08-18 15:18:46 +02:00
parent
80dd818290
commit
c4454d2efc
2 changed files with 6 additions and 1 deletions
1
Makefile
1
Makefile
|
@ -191,6 +191,7 @@ UVTEST += simple/test-readuint
|
||||||
UVTEST += simple/test-regress-GH-746
|
UVTEST += simple/test-regress-GH-746
|
||||||
UVTEST += simple/test-regress-GH-819
|
UVTEST += simple/test-regress-GH-819
|
||||||
UVTEST += simple/test-regress-GH-897
|
UVTEST += simple/test-regress-GH-897
|
||||||
|
UVTEST += simple/test-regress-GH-1531
|
||||||
UVTEST += simple/test-regression-object-prototype
|
UVTEST += simple/test-regression-object-prototype
|
||||||
UVTEST += simple/test-repl
|
UVTEST += simple/test-repl
|
||||||
UVTEST += simple/test-require-cache
|
UVTEST += simple/test-require-cache
|
||||||
|
|
|
@ -316,8 +316,12 @@ function onread(buffer, offset, length) {
|
||||||
if (self.onend) self.onend();
|
if (self.onend) self.onend();
|
||||||
} else {
|
} else {
|
||||||
// Error
|
// Error
|
||||||
|
if (errno == 'ECONNRESET') {
|
||||||
|
self.destroy();
|
||||||
|
} else {
|
||||||
self.destroy(errnoException(errno, 'read'));
|
self.destroy(errnoException(errno, 'read'));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue