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:Anna Henningsen <anna@addaleax.net>
parent
bcde849b
Please register or sign in to comment