GNS3 / gns3-server

GNS3 server
GNU General Public License v3.0
812 stars 263 forks source link

HTTP2 Support #2173

Closed wangziyao318 closed 1 week ago

wangziyao318 commented 1 year ago

It would be nice to have a config option in gns3_server.conf to use HTTP2 when HTTPS is enabled. HTTP2 would surely improve the network performance between GNS3 server and client.

grossmj commented 1 year ago

In version 3.0, we use Uvicorn, which is an HTTP server, to serve our REST API. Uvicorn stated they won't support HTTP/2: https://github.com/encode/uvicorn/issues/47 however I think it would be easy for us to use other HTTP servers like hypercorn which supports HTTP/2 and even draft HTTP/3, see https://github.com/pgjones/hypercorn or any other Python ASGI HTTP server.