summaryrefslogtreecommitdiff
path: root/benchmark/http2/respond-with-fd.js
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2017-09-21 10:07:56 -0700
committerRuben Bridgewater <ruben@bridgewater.de>2017-09-28 02:01:06 -0300
commitf55ee6e24a4073be42957bd9dbeb8b2591544143 (patch)
tree650858f37de18db1016d65bcf35949ba534aa60b /benchmark/http2/respond-with-fd.js
parente416b3ee3699d5479cf5f23b5232b4e5c018ba7d (diff)
downloadandroid-node-v8-f55ee6e24a4073be42957bd9dbeb8b2591544143.tar.gz
android-node-v8-f55ee6e24a4073be42957bd9dbeb8b2591544143.tar.bz2
android-node-v8-f55ee6e24a4073be42957bd9dbeb8b2591544143.zip
http2: make --expose-http2 flag a non-op
Make the `http2` module always available. The `--expose-http2` cli flag is made a non-op PR-URL: https://github.com/nodejs/node/pull/15535 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'benchmark/http2/respond-with-fd.js')
-rw-r--r--benchmark/http2/respond-with-fd.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/http2/respond-with-fd.js b/benchmark/http2/respond-with-fd.js
index 2c4c767a96..a235bd87d5 100644
--- a/benchmark/http2/respond-with-fd.js
+++ b/benchmark/http2/respond-with-fd.js
@@ -11,7 +11,7 @@ const bench = common.createBenchmark(main, {
requests: [100, 1000, 10000, 100000, 1000000],
streams: [100, 200, 1000],
clients: [1, 2]
-}, { flags: ['--expose-http2', '--no-warnings'] });
+}, { flags: ['--no-warnings'] });
function main(conf) {