mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 10:15:07 +08:00
quic: fix broken listEndpoints export, test callbacks & nghttp3 include
Signed-off-by: Tim Perry <pimterry@gmail.com> PR-URL: https://github.com/nodejs/node/pull/63874 Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
4fb667e7a3
commit
2b750782ac
3 files changed
+3
-1
No files matched your search
@@ -8,6 +8,7 @@ emitExperimentalWarning('quic');
|
||||
const {
|
||||
connect,
|
||||
listen,
|
||||
listEndpoints,
|
||||
QuicEndpoint,
|
||||
QuicError,
|
||||
QuicSession,
|
||||
@@ -34,6 +35,7 @@ const constants = {
|
||||
module.exports = {
|
||||
connect,
|
||||
listen,
|
||||
listEndpoints,
|
||||
QuicEndpoint,
|
||||
QuicError,
|
||||
QuicSession,
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#include "nghttp3/lib/nghttp3_conn.h"
|
||||
#if HAVE_OPENSSL && HAVE_QUIC
|
||||
#include "guard.h"
|
||||
#ifndef OPENSSL_NO_QUIC
|
||||
|
||||
@@ -15,6 +15,7 @@ const callbacks = {
|
||||
onEndpointClose() {},
|
||||
onSessionNew() {},
|
||||
onSessionClose() {},
|
||||
onSessionApplication() {},
|
||||
onSessionDatagram() {},
|
||||
onSessionDatagramStatus() {},
|
||||
onSessionHandshake() {},
|
||||
|
||||
Reference in new issue
Block a user