diff --git a/src/frp/utils/vhost/vhost.go b/src/frp/utils/vhost/vhost.go index 11038296..d9a6b238 100644 --- a/src/frp/utils/vhost/vhost.go +++ b/src/frp/utils/vhost/vhost.go @@ -34,10 +34,6 @@ type VhostMuxer struct { vhostFunc muxFunc registryMap map[string]*Listener mutex sync.RWMutex - - //build map between custom_domains and client_domain - domainMap map[string]string - domainMutex sync.RWMutex } func NewVhostMuxer(listener *conn.Listener, vhostFunc muxFunc, timeout time.Duration) (mux *VhostMuxer, err error) {