Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
node
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hamidreza Anbaraki
node
Commits
7a6b5635
Commit
7a6b5635
authored
15 years ago
by
Ryan Dahl
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Enable TCP timeout by default"
Causing programs to not exit gracefully. This reverts commit
cb84cde4
.
parent
62277ab7
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/net.js
+0
-3
0 additions, 3 deletions
lib/net.js
with
0 additions
and
3 deletions
lib/net.js
+
0
−
3
View file @
7a6b5635
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment