Commit edc71ef0 authored by James M Snell's avatar James M Snell
Browse files

quic: handle errors thrown / rejections in the session event

Errors thrown within the session event handler will be handled
by destroying the session (allowing a proper connection close
to be sent to the client peer). They will not crash the parent
QuicSocket by default. Instead, a `'sessionError'` event will
be emitted, allowing the error to be logged or handled.

PR-URL: https://github.com/nodejs/node/pull/34247


Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
parent bcde849b
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment