3 ms·
This is essentially how Pushpin (http://pushpin.org http://pushpin.org) works. It can hold a raw WebSocket connection open with a client, but it speaks HTTP to
by jkarneges 9y ago
This is essentially how Pushpin (http://pushpin.org http://pushpin.org) works. It can hold a raw WebSocket connection open with a client, but it speaks HTTP to the backend server, and the backend can be restarted without the client noticing.
- codegladiator 9y agoThis is a nginx module for this functionality https://nchan.io/ https://nchan.io/ I have used it before. Super easy to setup. Even with kubernetes.
- jkarneges 9y agoInteresting, I didn't think Nchan would be able to drive a raw WebSocket session with the client, but upon closer look it seems like it might be possible using the auth and message forwarding hooks. Very cool.