mirror of
https://github.com/suitenumerique/docs.git
synced 2026-09-25 19:15:14 +02:00
The ws library emits an unhandled 'error' event when a client sends a frame with unexpected RSV bits (e.g. permessage-deflate mismatch), which was crashing the whole y-provider process since no listener was attached to the socket. Add an error listener to log and drop the offending connection instead.