quic: don't crash when no quic engine is available 27/43227/18
authorDave Wallace <[email protected]>
Wed, 18 Jun 2025 20:20:51 +0000 (16:20 -0400)
committerFlorin Coras <[email protected]>
Tue, 15 Jul 2025 16:38:37 +0000 (16:38 +0000)
commit19e0d0ef8a6537c17d80c98365728b9e52e305fc
tree2bf37e1320b5f556335d753831f93b026e804190
parent29d66fb249659615da8e41437f34297e2814ebcc
quic: don't crash when no quic engine is available

- When there is no quic engine available, vpp crashes with an
  assert on startup which is not production friendly.
  Instead, emit warning message to stderr.
- Fix crash in session_transport_closing_notify if
  a remote closed notification happens on an invalid
  session in the quicly engine.
- Fix compilation errors when QUIC_DEBUG is set to 2
- Fix crash in 'show quic crypto context' command when
  quic engine is not present.
- Add quic engine type to 'show quic' output.

Type: fix

Change-Id: I83b9e69873fa3cd61d1d852b78ed1ccd2112825c
Signed-off-by: Dave Wallace <[email protected]>
src/plugins/quic/quic.c
src/plugins/quic_quicly/quic_quicly.c
src/plugins/quic_quicly/quic_quicly_crypto.c
src/vnet/session/transport.c