Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2020-08-05 02:03:30 +0300
committerJames M Snell <jasnell@gmail.com>2020-08-11 21:13:17 +0300
commit1f9b20b6376e0949807729ef46727a4fafad7f1d (patch)
tree3448933182ca47dd949e93ead90a25a65d8272df /src/node_binding.cc
parent6e1f6ec57398689740ab29acb6ce49bc94b95c79 (diff)
net: introduce net.BlockList
`net.BlockList` provides an object intended to be used by net APIs to specify rules for disallowing network activity with specific IP addresses. This commit adds the basic mechanism but does not add the specific uses. PR-URL: https://github.com/nodejs/node/pull/34625 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Diffstat (limited to 'src/node_binding.cc')
-rw-r--r--src/node_binding.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node_binding.cc b/src/node_binding.cc
index 4dbf56b99a3..9890f9e7be9 100644
--- a/src/node_binding.cc
+++ b/src/node_binding.cc
@@ -44,6 +44,7 @@
// __attribute__((constructor)) like mechanism in GCC.
#define NODE_BUILTIN_STANDARD_MODULES(V) \
V(async_wrap) \
+ V(block_list) \
V(buffer) \
V(cares_wrap) \
V(config) \