Is there a way to get a websocket client with a bounded buffer? #1956
-
Greetings! I've noticed that the websocket client as created in the example repo seems to have a buffer somewhere inside it that is unbounded: I've modified that program slightly so that it sends data rapidly to the server here: It also raises the timeout so that the server will give more time before hanging up the connection. If you run the server and client (from my fork) and watch the client process's memory, you will see that it begins to use a lot of memory, and seemingly grows without bound. I also observe that messages eventually stop getting to the server, though the memory continues to grow after this point. Is there a way to get the client to be backed by a bounded buffer to control the memory usage? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I decided to file this as an issue: #1967 |
Beta Was this translation helpful? Give feedback.
I decided to file this as an issue: #1967