title: WebSocket messages not received on the client when throttling. Issue is present in Chrome, but not in Firefox
body: <p>I recently built a real-time application that uses a CRDT algorithm on the back-end, and WebSockets to communicate. Since I had a strong connection 99% of the time, I haven't noticed any effects of the problem, but some customers have reported issues with syncing.</p>
  <p>I traced these issues back to Chrome not accepting WebSocket messages. To reproduce their environment, I used the throttling feature. Despite having seen several issues in the past where throttling wouldn't work with WebSockets in DevTools, for me it worked. The syncing was slowed down at first until it fully stopped. Here's how the transfer looks.</p>
  <p><a href="https://i.stack.imgur.com/39ukn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/39ukn.png" alt="transfer" /></a></p>
  <p>In Firefox this doesn't happen, even when I throttle down to incredibly low speeds.</p>
  <p>I checked the server, and messages are received successfully and outgoing messages are apparently sent, with no errors.</p>
  <p>After a while, because the web application receives no message, hence no &quot;ping&quot; message either, it doesn't &quot;pong&quot; back, and the connection eventually gets terminated.</p>
  <p>I can provide code samples if they are needed, but here it seems like the problem lies elsewhere.</p>
  <p>I use the &quot;ws&quot; module on the back-end.</p>