summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorDaniel Beckert <drbeckert@gmail.com>2018-12-13 15:35:48 -0200
committerMatheus Marchini <mat@mmarchini.me>2019-04-22 11:51:46 -0700
commitece507394a563bd7e3555a840a3d6980ffbb01ac (patch)
tree1d06fac01c1ca69e88107f718d12859f78a55295 /doc/api
parent5aaf666b3b82a66485bea6a6b59fbfc838192e2f (diff)
downloadandroid-node-v8-ece507394a563bd7e3555a840a3d6980ffbb01ac.tar.gz
android-node-v8-ece507394a563bd7e3555a840a3d6980ffbb01ac.tar.bz2
android-node-v8-ece507394a563bd7e3555a840a3d6980ffbb01ac.zip
src: do not reuse async resource in http parsers
Change resource being used, previously HTTParser was being reused. We are now using IncomingMessage and ClientRequest objects. The goal here is to make the async resource unique for each async operatio Refs: https://github.com/nodejs/node/pull/24330 Refs: https://github.com/nodejs/diagnostics/issues/248 Refs: https://github.com/nodejs/node/pull/21313 Co-authored-by: Matheus Marchini <mat@mmarchini.me> PR-URL: https://github.com/nodejs/node/pull/25094 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benedikt Meurer <benedikt.meurer@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/async_hooks.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/async_hooks.md b/doc/api/async_hooks.md
index 99b996a1af..3e28aa21a8 100644
--- a/doc/api/async_hooks.md
+++ b/doc/api/async_hooks.md
@@ -236,10 +236,10 @@ The `type` is a string identifying the type of resource that caused
resource's constructor.
```text
-FSEVENTWRAP, FSREQCALLBACK, GETADDRINFOREQWRAP, GETNAMEINFOREQWRAP, HTTPPARSER,
-JSSTREAM, PIPECONNECTWRAP, PIPEWRAP, PROCESSWRAP, QUERYWRAP, SHUTDOWNWRAP,
-SIGNALWRAP, STATWATCHER, TCPCONNECTWRAP, TCPSERVERWRAP, TCPWRAP, TTYWRAP,
-UDPSENDWRAP, UDPWRAP, WRITEWRAP, ZLIB, SSLCONNECTION, PBKDF2REQUEST,
+FSEVENTWRAP, FSREQCALLBACK, GETADDRINFOREQWRAP, GETNAMEINFOREQWRAP, HTTPINCOMINGMESSAGE,
+HTTPCLIENTREQUEST, JSSTREAM, PIPECONNECTWRAP, PIPEWRAP, PROCESSWRAP, QUERYWRAP,
+SHUTDOWNWRAP, SIGNALWRAP, STATWATCHER, TCPCONNECTWRAP, TCPSERVERWRAP, TCPWRAP,
+TTYWRAP, UDPSENDWRAP, UDPWRAP, WRITEWRAP, ZLIB, SSLCONNECTION, PBKDF2REQUEST,
RANDOMBYTESREQUEST, TLSWRAP, Microtask, Timeout, Immediate, TickObject
```