You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The diagnostic channels for WebSocket connections have no request identities to chain up diagnostic information. Listeners of these channels can not associate each diagnostic events with a certain request with the limited information.
For example, undici:websocket:socket_error only provides an error object, without a hint of which websocket request caused the error. So do channels like undici:websocket:open, undici:websocket:ping, and undici:websocket:pong.
The implementation should look like...
The WebSocket diagnostic channel should also provide a consistent request identity (object), like the WebSocket instance.
This would solve...
The diagnostic channels for WebSocket connections have no request identities to chain up diagnostic information. Listeners of these channels can not associate each diagnostic events with a certain request with the limited information.
For example,
undici:websocket:socket_error
only provides anerror
object, without a hint of which websocket request caused the error. So do channels likeundici:websocket:open
,undici:websocket:ping
, andundici:websocket:pong
.The implementation should look like...
The WebSocket diagnostic channel should also provide a consistent request identity (object), like the
WebSocket
instance.Additional context
The text was updated successfully, but these errors were encountered: