mirror of
https://github.com/fatedier/frp.git
synced 2026-07-23 06:59:19 +08:00
Use net/http Server.Protocols and the merged golib listener path instead of the deprecated h2c handler. Keep HTTP/1.1 and cleartext HTTP/2 prior-knowledge support, while intentionally dropping HTTP/1.1 Upgrade: h2c.
3.1 KiB
3.1 KiB