diff options
author | Rich Trott <rtrott@gmail.com> | 2020-09-01 17:19:22 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2020-09-04 05:54:10 +0300 |
commit | e5116b304f67e4989a8ff87fd558eca6363947a5 (patch) | |
tree | 38104478ec273d29b275d24560eee131d67a30a9 /lib/internal/quic | |
parent | ef4e3b5f69450fc18eea6bdfbf8b2b9d4286e55c (diff) |
quic: remove unused function arguments
validateTransportParams() only takes (and only uses) one argument.
PR-URL: https://github.com/nodejs/node/pull/35010
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'lib/internal/quic')
-rw-r--r-- | lib/internal/quic/util.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/internal/quic/util.js b/lib/internal/quic/util.js index 77ca135a272..2116c777238 100644 --- a/lib/internal/quic/util.js +++ b/lib/internal/quic/util.js @@ -634,11 +634,7 @@ function validateQuicSocketListenOptions(options = {}) { 'function', clientHelloHandler); } - const transportParams = - validateTransportParams( - options, - NGTCP2_MAX_CIDLEN, - NGTCP2_MIN_CIDLEN); + const transportParams = validateTransportParams(options); return { alpn, |