eclipse-zenoh / zenoh-plugin-webserver

A zenoh plug-in implementing an HTTP server mapping URLs to zenoh paths. This plugin can be used to set-up a Web server where the resources are retrieved from geo-distributed zenoh storages, each leveraging various backends (file system, database, memory...)
Other
15 stars 12 forks source link

Feature Request: HTTP/2 Support #137

Closed fsteff closed 2 months ago

fsteff commented 3 months ago

Describe the feature

Subscribing to a topic via Long-lived (SSE) GET requests keeps a connection to the server open, but with HTTP/1.1 most browsers limit the number of simultaneous connections to 6 (overall, not even per tab!). With HTTP/2 this should no longer be a problem.

However, the utilized webserver tide does NOT support HTTP/2 (https://github.com/http-rs/tide/issues/891). As a result, the number of concurrent subscriptions is limited to 6, additional requests (also other ones) stop working.

Since HTTP/2 support is not planned for tide (for now only receives small maintance updates, see https://github.com/http-rs/tide/discussions/888), please consider switching to a webserver that supports it.

fsteff commented 2 months ago

Sorry, wrong repo... I meant to create an issue for the REST-plugin, which is located in the main zenoh repository. I opened this one: https://github.com/eclipse-zenoh/zenoh/issues/1313