libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] Protocol upgrade


From: Markus Doppelbauer
Subject: Re: [libmicrohttpd] Protocol upgrade
Date: Mon, 14 Nov 2016 21:28:13 +0100

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

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