0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
Gerhard Stoebich 3d9d1ade2a
async_hooks: don't reuse resource in HttpAgent
As discussed in https://github.com/nodejs/diagnostics/issues/248,
https://github.com/nodejs/node/pull/21313 and
https://docs.google.com/document/d/1g8OrG5lMIUhRn1zbkutgY83MiTSMx-0NHDs8Bf-nXxM/preview
reusing the resource object is a blocker for landing a resource based
async hooks API and get rid of the promise destroy hook.

This PR ensures that HttpAgent uses the a new resource object in case
the socket handle gets reused.

PR-URL: https://github.com/nodejs/node/pull/27581
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2019-05-19 23:17:06 +02:00
..
internal worker: add ability to unshift message from MessagePort 2019-05-19 22:01:34 +02:00
_http_agent.js async_hooks: don't reuse resource in HttpAgent 2019-05-19 23:17:06 +02:00
_http_client.js async_hooks: fixup do not reuse HTTPParser 2019-05-03 16:02:55 +02:00
_http_common.js async_hooks: fixup do not reuse HTTPParser 2019-05-03 16:02:55 +02:00
_http_incoming.js
_http_outgoing.js
_http_server.js http, http2: remove default server timeout 2019-05-09 08:54:04 -07:00
_stream_duplex.js
_stream_passthrough.js
_stream_readable.js stream: implement Readable.from async iterator utility 2019-05-18 09:15:01 +02:00
_stream_transform.js stream: remove TODO and add a description instead 2019-05-02 23:16:14 +02:00
_stream_wrap.js
_stream_writable.js
_tls_common.js tls: fix createSecureContext() cipher list filter 2019-05-10 11:25:29 -07:00
_tls_wrap.js tls: support net.Server options 2019-05-18 19:46:55 -07:00
.eslintrc.yaml
assert.js assert: use less read operations 2019-05-05 14:44:21 -07:00
async_hooks.js
buffer.js buffer: remove unreachable code 2019-04-30 06:37:55 -07:00
child_process.js child_process: refactor stdioStringToArray function 2019-05-16 05:14:10 +02:00
cluster.js
console.js
constants.js
crypto.js
dgram.js tools: enable block-scoped-var eslint rule 2019-05-10 16:58:49 +02:00
dns.js dns: do not indicate invalid IPs are IPv6 2019-04-16 16:19:17 -07:00
domain.js
events.js events: improve max listeners warning 2019-05-17 05:39:00 +02:00
fs.js fs: extract path conversion and validation to getValidatedPath 2019-05-14 15:13:48 -07:00
http2.js
http.js
https.js http, http2: remove default server timeout 2019-05-09 08:54:04 -07:00
inspector.js
module.js
net.js src: move guessHandleType in the util binding 2019-04-20 13:25:41 +08:00
os.js
path.js path: simplify normalizeString 2019-04-18 05:32:10 +02:00
perf_hooks.js
process.js
punycode.js
querystring.js
readline.js
repl.js repl: handle uncaughtException properly 2019-05-08 08:15:15 +02:00
stream.js
string_decoder.js
sys.js
timers.js lib: remove outdated optimizations 2019-04-29 20:46:53 +08:00
tls.js tls: add --tls-min-v1.2 CLI switch 2019-05-05 08:23:43 -07:00
trace_events.js
tty.js
url.js tools: enable block-scoped-var eslint rule 2019-05-10 16:58:49 +02:00
util.js
v8.js fs: extract path conversion and validation to getValidatedPath 2019-05-14 15:13:48 -07:00
vm.js module: initialize module_wrap.callbackMap during pre-execution 2019-04-25 12:11:10 +08:00
worker_threads.js worker: add ability to unshift message from MessagePort 2019-05-19 22:01:34 +02:00
zlib.js