#1 2021-08-30 08:28:46

sakura
Member
From: Germany
Registered: 2018-02-21
Posts: 239
Website

Support for http 2.0

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

#2 2021-08-30 17:54:26

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,660
Website

Re: Support for http 2.0

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.

Offline

#3 2021-08-30 21:32:10

mpv
Member
From: Ukraine
Registered: 2012-03-24
Posts: 1,571
Website

Re: Support for http 2.0

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)

Offline

#4 2021-08-31 05:51:11

zed
Member
From: Belarus
Registered: 2015-02-26
Posts: 105

Re: Support for http 2.0

libcurl backend supports http2.

Offline

#5 2021-08-31 12:20:18

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,660
Website

Re: Support for http 2.0

Yes, libcurl is for the client side.

But I meant HTTP2.0 support for the server side.

Offline

Board footer

Powered by FluxBB