websocket forked from zzstoatzz.io/websocket.zig

Use mutex to protect handleconn of doublefree

This can happen if the client is disconneted just before the server is shutdown. https://github.com/karlseguin/websocket.zig/issues/80


Author Karl Seguin Date Commit Parent f7e2c02b
+15 -6
1 changed file
+15 -6
1 changed file