瀏覽代碼

remove the extra filed

Maodanping 8 年之前
父節點
當前提交
6dd51e0951
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      src/frp/utils/vhost/vhost.go

+ 0 - 4
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) {