David Thompson <[email protected]> skribis: > I've been tinkering with adding WebSockets[0] support to Guile's HTTP > arsenal. The first blocking issue I've come across is that an HTTP > server must be able to detect the "Upgrade" header[1] and change > protocols. In my case, once a client thread accepts a WebSocket > connection, it should speak the WebSocket protocol, not HTTP.
Roughly, I would change ‘http-write’ in (web server http) to just remove the socket from the server’s poll set when the response is an upgrade, no? Ludo’.
