Thanks Olivier, it worked now. If I don't make a serious wrong, can
haproxy to do multiplexing connections from FE to a single connection
to BE by using H2+TLS, then keep the connection to BE alive as long as
possible, so we could omit handshakes?

On Mon, Jun 24, 2019 at 5:56 PM Olivier Houchard <[email protected]> wrote:
>
> Hi Igor,
>
> On Sun, Jun 23, 2019 at 08:42:46PM +0800, Igor Pav wrote:
> > Hi Olivier,
> >
> > The `retry-on 0rtt-rejected` will only work in tcp mode, is that
> > possible to let it work in http mode too?
> >
>
> It should work with HTTP too. What may happen is you're using "alpn" on
> the server line, and thus we have to wait until the handshake is done to
> know if we're using H1 or H2, so we can't send early data, because we won't
> know its format.
> If you only want yo use H2, you can add "proto h2" on your server line, and
> it should work.
>
> Regards,
>
> Olivier
>

Reply via email to