vbmithr / ocaml-websocket

Websocket library for OCaml
ISC License
161 stars 44 forks source link

Closing client connections #125

Closed paurkedal closed 1 year ago

paurkedal commented 2 years ago

Websocket_lwt_unix.with_connection does not provide a way of closing the socket after the session terminates. I'm using 2.14 but checked also the current definition in the master branch. Assuming you agree, what would be the best way of fixing it?

vbmithr commented 2 years ago

Actually, I now use a different (pure Async) library to do my websockets so I have to admit that I’m not maintaining this one anymore (and I would probably re-write everything!). Let me have a look and I’ll give you my take on the matter :)

See #126

vbmithr commented 1 year ago

Closed via https://github.com/vbmithr/ocaml-websocket/commit/1788438561521c71f8a2cfb93d8c7264f06ef6ec. Please reopen if there is still an issue here.