0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/async-hooks
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
..
async-hooks.status
coverage.md async_hooks: fixup do not reuse HTTPParser 2019-05-03 16:02:55 +02:00
hook-checks.js tools: force common be required before any other modules 2019-05-13 19:39:34 +08:00
init-hooks.js async_hooks: don't reuse resource in HttpAgent 2019-05-19 23:17:06 +02:00
test-async-await.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test-callback-error.js async_hooks: remove deprecated emitBefore and emitAfter 2019-03-18 11:36:48 +01:00
test-crypto-pbkdf2.js
test-crypto-randomBytes.js
test-disable-in-init.js
test-embedder.api.async-resource-no-type.js
test-embedder.api.async-resource.js async_hooks: remove deprecated emitBefore and emitAfter 2019-03-18 11:36:48 +01:00
test-embedder.api.async-resource.runInAsyncScope.js
test-emit-after-on-destroyed.js async_hooks: remove deprecated emitBefore and emitAfter 2019-03-18 11:36:48 +01:00
test-emit-before-after.js
test-emit-before-on-destroyed.js async_hooks: remove deprecated emitBefore and emitAfter 2019-03-18 11:36:48 +01:00
test-emit-init.js
test-enable-disable.js tools: capitalize sentences 2018-12-10 17:07:18 +01:00
test-enable-in-init.js test: refactor test-enable-in-init 2018-12-13 17:28:55 -08:00
test-fseventwrap.js
test-fsreqcallback-access.js
test-fsreqcallback-readFile.js tools: capitalize sentences 2018-12-10 17:07:18 +01:00
test-getaddrinforeqwrap.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
test-getnameinforeqwrap.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
test-graph.fsreq-readFile.js
test-graph.http.js http, http2: remove default server timeout 2019-05-09 08:54:04 -07:00
test-graph.intervals.js
test-graph.pipe.js
test-graph.pipeconnect.js
test-graph.shutdown.js
test-graph.signal.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test-graph.statwatcher.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test-graph.tcp.js
test-graph.timeouts.js
test-graph.tls-write-12.js tls: support TLSv1.3 2019-03-20 07:48:25 -07:00
test-graph.tls-write.js async_hooks: fixup do not reuse HTTPParser 2019-05-03 16:02:55 +02:00
test-http-agent-handle-reuse.js async_hooks: don't reuse resource in HttpAgent 2019-05-19 23:17:06 +02:00
test-httparser-reuse.js async_hooks: fixup do not reuse HTTPParser 2019-05-03 16:02:55 +02:00
test-httpparser.request.js async_hooks: fixup do not reuse HTTPParser 2019-05-03 16:02:55 +02:00
test-httpparser.response.js async_hooks: fixup do not reuse HTTPParser 2019-05-03 16:02:55 +02:00
test-immediate.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test-improper-order.js async_hooks: remove deprecated emitBefore and emitAfter 2019-03-18 11:36:48 +01:00
test-improper-unwind.js async_hooks: remove deprecated emitBefore and emitAfter 2019-03-18 11:36:48 +01:00
test-net-get-connections.js
test-nexttick-default-trigger.js
test-no-assert-when-disabled.js
test-pipeconnectwrap.js tools: capitalize sentences 2018-12-10 17:07:18 +01:00
test-pipewrap.js tools: capitalize sentences 2018-12-10 17:07:18 +01:00
test-promise.chain-promise-before-init-hooks.js benchmark,doc,lib,test: capitalize comments 2019-02-28 18:31:10 +01:00
test-promise.js test: remove unused function arguments in async-hooks tests 2018-11-18 23:31:35 -08:00
test-promise.promise-before-init-hooks.js benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
test-querywrap.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
test-queue-microtask.js
test-shutdownwrap.js
test-signalwrap.js benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
test-statwatcher.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test-tcpwrap.js benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
test-timers.setInterval.js
test-timers.setTimeout.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test-tlswrap.js tls: support TLSv1.3 2019-03-20 07:48:25 -07:00
test-ttywrap.readstream.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test-ttywrap.writestream.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test-udpsendwrap.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
test-udpwrap.js
test-writewrap.js
test-zlib.zlib-binding.deflate.js test: remove usage of process.binding() 2019-03-07 17:43:21 +01:00
testcfg.py
verify-graph.js test: relax check in verify-graph 2019-05-19 23:09:42 +02:00