diff options
author | Andreas Madsen <amwebdk@gmail.com> | 2017-11-20 19:18:40 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2017-11-28 04:50:54 +0300 |
commit | b44efded8481877c1ec782112b9ae4c4fec37463 (patch) | |
tree | 7c967e36bc1d718c513965b619f65e7f4f9da95a /src/async_wrap.h | |
parent | 91d131210c2d7887d8625d34c1008a3d423cf86b (diff) |
async_wrap: add provider types for net server
Adds `TCPSERVERWRAP` and `PIPESERVERWRAP` as provider types. This
makes it possible to distinguish servers from connections.
PR-URL: https://github.com/nodejs/node/pull/17157
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'src/async_wrap.h')
-rw-r--r-- | src/async_wrap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/async_wrap.h b/src/async_wrap.h index 98451ead3bc..ec9e162ca79 100644 --- a/src/async_wrap.h +++ b/src/async_wrap.h @@ -46,6 +46,7 @@ namespace node { V(HTTPPARSER) \ V(JSSTREAM) \ V(PIPECONNECTWRAP) \ + V(PIPESERVERWRAP) \ V(PIPEWRAP) \ V(PROCESSWRAP) \ V(PROMISE) \ @@ -54,6 +55,7 @@ namespace node { V(SIGNALWRAP) \ V(STATWATCHER) \ V(TCPCONNECTWRAP) \ + V(TCPSERVERWRAP) \ V(TCPWRAP) \ V(TIMERWRAP) \ V(TTYWRAP) \ |