All major browser support Websockets nowadays so it would be a
great step ahead. 
My skills are limited when it comes to low level programming, so
my estimation could be wrong: But if it is only a small piece of
code maybe it would be useful to be integrated in MHD.
>From a user perspective I would prefer a solution where http-requests
and websocket data-packets are handled by one event loop.
Am Montag, den 14.11.2016, 18:00 +0100 schrieb Christian Grothoff:
> I would add that I personally would prefer to see such an
> implementation
> of WebSockets kept outside of libmicrohttpd.so proper.  HTTP
> Upgrade/switching protocols is part of the HTTP core standard and
> thus
> must be provided by MHD. However, WebSockets is something that can
> and
> should be separate, as modular solutions are better.
> 
> So ideally, a "libmicrowebsockets.so" would just take the 'upgraded'
> socket returned by MHD and go from there (and maybe provide some
> helper
> functions to set the required Websocket-specific HTTP headers).
> 
> On 11/14/2016 05:51 PM, Evgeny Grin wrote:
> > 
> > Implementations are welcome. :)

Reply via email to