diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/quic/quic.c | 9 | ||||
-rw-r--r-- | src/plugins/quic/quic.h | 2 |
2 files changed, 9 insertions, 2 deletions
diff --git a/src/plugins/quic/quic.c b/src/plugins/quic/quic.c index c8288710a1a..7807ae49f12 100644 --- a/src/plugins/quic/quic.c +++ b/src/plugins/quic/quic.c @@ -1143,6 +1143,13 @@ quic_session_reset_callback (session_t * s) clib_warning ("UDP session reset???"); } +int +quic_session_accepted_callback (session_t * s) +{ + /* never called */ + return 0; +} + static int quic_add_segment_callback (u32 client_index, u64 seg_handle) { @@ -1475,7 +1482,7 @@ quic_app_rx_callback (session_t * quic_session) /* *INDENT-OFF* */ static session_cb_vft_t quic_app_cb_vft = { - .session_accept_callback = NULL, + .session_accept_callback = quic_session_accepted_callback, .session_disconnect_callback = quic_session_disconnect_callback, .session_connected_callback = quic_session_connected_callback, .session_reset_callback = quic_session_reset_callback, diff --git a/src/plugins/quic/quic.h b/src/plugins/quic/quic.h index f574b29a583..0c0147c6053 100644 --- a/src/plugins/quic/quic.h +++ b/src/plugins/quic/quic.h @@ -23,7 +23,7 @@ #include <quicly.h> -#define QUIC_DEBUG 4 +#define QUIC_DEBUG 1 #define QUIC_DEBUG_LEVEL_CLIENT 0 #define QUIC_DEBUG_LEVEL_SERVER 0 |