mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
Revert "Enable TCP timeout by default"
Causing programs to not exit gracefully.
This reverts commit cb84cde4d4.
This commit is contained in:
1 parent
62277ab79b
commit
7a6b5635eb
1 file changed
-3
@@ -5,7 +5,6 @@ var dns = require('dns');
|
||||
|
||||
var kMinPoolSpace = 128;
|
||||
var kPoolSize = 40*1024;
|
||||
var kDefaultTimeout = 60*1000;
|
||||
|
||||
var debugLevel = process.env['NODE_DEBUG'] ? 1 : 0;
|
||||
function debug () {
|
||||
@@ -258,8 +257,6 @@ function _doFlush () {
|
||||
}
|
||||
|
||||
function initStream (self) {
|
||||
timeout.enroll(self, kDefaultTimeout);
|
||||
|
||||
self._readWatcher = ioWatchers.alloc();
|
||||
self._readWatcher.callback = function () {
|
||||
// If this is the first recv (pool doesn't exist) or we've used up
|
||||
|
||||
Reference in new issue
Block a user