https: add load balancing group support (#5032)

This commit is contained in:
fatedier
2025-10-28 17:37:18 +08:00
committed by GitHub
parent 469097a549
commit 1cf325bb0c
9 changed files with 311 additions and 21 deletions

View File

@@ -322,6 +322,9 @@ func NewService(cfg *v1.ServerConfig) (*Service, error) {
if err != nil {
return nil, fmt.Errorf("create vhost httpsMuxer error, %v", err)
}
// Init HTTPS group controller after HTTPSMuxer is created
svr.rc.HTTPSGroupCtl = group.NewHTTPSGroupController(svr.rc.VhostHTTPSMuxer)
}
// frp tls listener