HTTP/2 Gateway

Maxim Dounin mdounin at mdounin.ru
Mon Dec 14 16:17:40 UTC 2015


Hello!

On Fri, Dec 11, 2015 at 10:03:15PM +0000, Nicholas Capo wrote:

> Is HTTP/2 proxy support planned for the near future?

Short answer:

No, there are no plans.

Long answer:

There is almost no sense to implement it, as the main HTTP/2 
benefit is that it allows multiplexing many requests within a 
single connection, thus [almost] removing the limit on number of 
simalteneous requests - and there is no such limit when talking to 
your own backends.  Moreover, things may even become worse when 
using HTTP/2 to backends, due to single TCP connection being used 
instead of multiple ones.

On the other hand, implementing HTTP/2 protocol and request 
multiplexing within a single connection in the upstream module 
will require major changes to the upstream module.

Due to the above, there are no plans to implement HTTP/2 support 
in the upstream module, at least in the foreseeable future.  If 
you still think that talking to backends via HTTP/2 is something 
needed - feel free to provide patches.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx mailing list