Skip to content

Commit 3df8851

Browse files
committed
http2: remove no longer userful options.selectPadding
This is a followup cleanup on a previous PR. Current source code and doc explicitly states that `selectPadding` has been removed for all exports. Refs: #29144 Refs: https://nodejs.org/api/http2.html
1 parent 4edb139 commit 3df8851

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/internal/http2/core.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,6 @@ const kPendingRequestCalls = Symbol('kPendingRequestCalls');
244244
const kProceed = Symbol('proceed');
245245
const kRemoteSettings = Symbol('remote-settings');
246246
const kRequestAsyncResource = Symbol('requestAsyncResource');
247-
const kSelectPadding = Symbol('select-padding');
248247
const kSentHeaders = Symbol('sent-headers');
249248
const kSentTrailers = Symbol('sent-trailers');
250249
const kServer = Symbol('server');
@@ -1082,8 +1081,6 @@ function setupHandle(socket, type, options) {
10821081
const handle = new binding.Http2Session(type);
10831082
handle[kOwner] = this;
10841083

1085-
if (typeof options.selectPadding === 'function')
1086-
this[kSelectPadding] = options.selectPadding;
10871084
handle.consume(socket._handle);
10881085
handle.ongracefulclosecomplete = this[kMaybeDestroy].bind(this, null);
10891086

0 commit comments

Comments
 (0)