jaspervdj / websockets

A Haskell library for creating WebSocket-capable servers
http://jaspervdj.be/websockets
BSD 3-Clause "New" or "Revised" License
405 stars 112 forks source link

Stream Open/Close buffers are never filled #240

Open domenkozar opened 6 months ago

domenkozar commented 6 months ago

If I'm reading the code correctly, when close is called, the stream is marked as closed and it's not possible to get out the leftover buffer.

I'm not sure what role Open buff | Closed buff were supposed to play, but the Open buffer is never filled in.