mirror of
https://github.com/fatedier/frp.git
synced 2025-03-13 11:30:51 +07:00
Update pkg/util/vhost/http.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
ae5fe4c8a6
commit
3a5c2bf06a
@ -103,7 +103,7 @@ func NewHTTPReverseProxy(option HTTPReverseProxyOptions, vhostRouter *Routers) *
|
||||
return nil, nil
|
||||
},
|
||||
}
|
||||
// alrough register http protocol with a h2t, but it's only used for grpc.
|
||||
// although register http protocol with a h2t, but it's only used for grpc.
|
||||
// for normal http request, it still uses h1t.
|
||||
h1t.RegisterProtocol("http", &grpcSwitchH2Transport{h2t: h2t})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user