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
While the WebSocket and WebRTC protocols have back-pressure mechanism, the browser doesn't provide any way to use them. If the remote sends for example 2 gigabytes of data, the browser will happily repeatedly call the onmessage callback with packets whose total size amounts to 2 GiB. And the receiver, when it can't process the packets immediately because it's busy with other things, has no other solution but to buffer the packets, which could make the program run out of memory.
paritytech/smoldot#1089
The text was updated successfully, but these errors were encountered: