guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Handling HTTP "Upgrade" requests


From: Ludovic Courtès
Subject: Re: Handling HTTP "Upgrade" requests
Date: Wed, 04 Mar 2015 11:51:54 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

David Thompson <address@hidden> 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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]