mirror of
https://github.com/fatedier/frp.git
synced 2026-08-25 09:28:53 +00:00
f8fc3c6b1b
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.