socketry / async-websocket

Asynchronous WebSocket client and server, supporting HTTP/1 and HTTP/2 for Ruby.
MIT License
166 stars 18 forks source link

fix framer close #45

Closed PeterRunich closed 1 year ago

PeterRunich commented 1 year ago

Types of Changes

ioquatix commented 1 year ago

The problem with this is that it will potentially close every other connection in the pool when one client connection is closed, which doesn't really make sense.

ioquatix commented 1 year ago

I've fixed this differently:

https://github.com/socketry/async-websocket/blob/154d6130641b953541e59ccffe713d46b2f5be71/lib/async/websocket/client.rb#L38-L67