webdis icon indicating copy to clipboard operation
webdis copied to clipboard

HTTP/2 Support for Webdis

Open srimithravemula opened this issue 2 years ago • 1 comments

Hi Nicolasff,

Can you please let me know if there any plan to support HTTP/2 version as well for webdis.

Regards

srimithravemula avatar Jul 13 '22 12:07 srimithravemula

Hi @srimithravemula,

There are no plans to add HTTP/2 support at this time. Webdis uses the original HTTP parser from Node, which was later replaced with llhttp. Supporting HTTP/2 is not as simple as swapping the parser though, it would mean also supporting multiple streams per connection, and more. The way Webdis was written means that adding support for would likely require major changes to its design and internals.

I can see how an HTTP/2-to-HTTP proxy in front of Webdis could help somewhat (at least if one of the major goals is the ability to handle multiplexed connections), although it's obviously not the same as having built-in support.

nicolasff avatar Jul 13 '22 17:07 nicolasff