Skip to content

Commit 6fb5bb5

Browse files
pimterryaduh95
authored andcommitted
quic: fix broken listEndpoints export, test callbacks & nghttp3 include
Signed-off-by: Tim Perry <[email protected]> PR-URL: #63874 Reviewed-By: Stephen Belanger <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 41e7811 commit 6fb5bb5

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

lib/quic.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ emitExperimentalWarning('quic');
88
const {
99
connect,
1010
listen,
11+
listEndpoints,
1112
QuicEndpoint,
1213
QuicSession,
1314
QuicStream,
@@ -21,6 +22,7 @@ const {
2122
module.exports = {
2223
connect,
2324
listen,
25+
listEndpoints,
2426
QuicEndpoint,
2527
QuicSession,
2628
QuicStream,

test/parallel/test-quic-internal-setcallbacks.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const callbacks = {
1313
onEndpointClose() {},
1414
onSessionNew() {},
1515
onSessionClose() {},
16+
onSessionApplication() {},
1617
onSessionDatagram() {},
1718
onSessionDatagramStatus() {},
1819
onSessionHandshake() {},

0 commit comments

Comments
 (0)