Closed matti closed 5 years ago
Async::WebSocket::Adapters::Rack.open(env, protocols: ['ws']) do |conn|
p [env["REMOTE_ADDR"], "connected"]
while msg = conn.read do
p ["<", msg]
end
end
^-- this gives:
1.38s: <Async::Task:0x3fd7d201c9f0 failed>
| EOFError: Could not read frame header!
I've reproduced the bug locally. Now, I'm investigating.
So in my old code that used this gem before api changes I had:
What should I do now? I'm lost with the recent changes that broke all of my code.