Open gregnietsky opened 11 years ago
I think the current architecture is geared towards a multi-threaded approach, where you would spawn a new thread from on_connect and send a message from that thread as soon as it starts. Your suggestion would allow a single-threaded model for that sort of work, which is nice.
I'd need to give it some thought. I know it's been years, but in case you're still interested, would you mind opening an issue at my mod_websocket fork?
Hi there im working on a shell/vt100 via websock and so far things are looking good.
one thing that seems missing is a callback for ready as you cant send messages from on_connect it would make sense to have a RTS call back where the server needs to initiate the communication or send setup to the client.
here is link to the initial work to get a shell to run in a pty for any user with a setuid wrapper https://github.com/gregnietsky/sushi