You are not logged in.
Pages: 1
Hi,
will mormot2 support http 2.0 protocols?
I just noticed, that it likely does.
So let's rephrase: how do I enable it. How can I handle multiplex requests?
Regards,
Daniel
Last edited by sakura (2021-08-30 08:45:49)
Offline
There is no native HTTP 2.0 support in mORMOt, even mORMot 2.
The usual configuration is to put a nginx reverse proxy in front of it, then force HTTP/1.0 connections to the mORMot local server on the loopback.
It is very efficient, especially if you use a unix sockets between the local server and nginx.
Online
IMHO its very hard to implement HTTP/2 correctly. I remember many issues with HTTP/2 even in ngnx. But last 2 years it has been stable and, as @ab recommends, we use nginx as http2 reverse proxy for all our productions (some of them are very big).
And we cautiously start looking at http3 (QUIC)
Online
libcurl backend supports http2.
Offline
Pages: 1