You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
isaacs
234fb122bb
http client: Ensure socket cleanup on response end
If an http response has an 'end' handler that throws, then the socket
will never be released back into the pool.
Granted, we do NOT guarantee that throwing will never have adverse
effects on Node internal state. Such a guarantee cannot be reasonably
made in a shared-global mutable-state side-effecty language like
JavaScript. However, in this case, it's a rather trivial patch to
increase our resilience a little bit, so it seems like a win.
There is no semantic change in this case, except that some event
listeners are removed, and the `'free'` event is emitted on nextTick, so
that you can schedule another request which will re-use the same socket.
From the user's point of view, there should be no detectable difference.
Closes #5107
12 years ago
..
_debugger.js
streams2: Call read(0) on resume()
12 years ago
_linklist.js
Update copyright headers
14 years ago
_stream_duplex.js
stdio: Set readable/writable flags properly
12 years ago
_stream_passthrough.js
stream: _write takes an encoding argument
12 years ago
_stream_readable.js
stream: Emit readable on ended streams via read(0)
12 years ago
_stream_transform.js
stream: Fix stall in Transform under very specific conditions
12 years ago
_stream_writable.js
stream: Fix early end in Writables on zero-length writes
12 years ago
assert.js
assert: improve support for new execution contexts
12 years ago
buffer.js
buffer: check logic simplification
12 years ago
child_process.js
child_process: don't emit same handle twice
12 years ago
cluster.js
cluster: Rename destroy() to kill(signal=SIGTERM)
12 years ago
console.js
console: Support formatting options in trace()
12 years ago
constants.js
Update copyright headers
14 years ago
crypto.js
crypto: Pass options to ctor calls
12 years ago
dgram.js
child_process: support sending dgram socket
12 years ago
dns.js
DNS: Support NAPTR queries
12 years ago
domain.js
domain: fix domain callback from MakeCallback
12 years ago
events.js
events: Handle missing error obj when domains in use
12 years ago
freelist.js
Update copyright headers
14 years ago
fs.js
fs: make write/appendFileSync correctly set file mode
12 years ago
http.js
http client: Ensure socket cleanup on response end
12 years ago
https.js
https: optimize https.createConnection()
12 years ago
module.js
core: Remove the nextTick for running the main file
12 years ago
net.js
net: improve arbitrary tcp socket support
12 years ago
os.js
os: rename tmpDir() to tmpdir() for consistency
12 years ago
path.js
lint
12 years ago
punycode.js
punycode: update to v1.2.0
12 years ago
querystring.js
querystring: Removing unnecessary binding
12 years ago
readline.js
events: add check for listeners length
12 years ago
repl.js
repl: use more readable RegExp syntax for spaces
12 years ago
stream.js
events: add check for listeners length
12 years ago
string_decoder.js
Don't allow invalid encodings in StringDecoder class
12 years ago
sys.js
Fix #3577 Un-break require('sys')
13 years ago
timers.js
setTimeout: do not calculate Timeout._when property
12 years ago
tls.js
tls: Destroy socket when encrypted side closes
12 years ago
tty.js
lib, src: remove errno global
12 years ago
url.js
url: make url.format escape delimiters in path and query
13 years ago
util.js
node: Add --throw-deprecation
12 years ago
vm.js
lint
13 years ago
zlib.js
zlib: Manage flush flags appropriately
12 years ago