remove the extra filed

This commit is contained in:
Maodanping 2016-07-24 15:08:01 +08:00
parent e0f2993b70
commit 6dd51e0951

View File

@ -34,10 +34,6 @@ type VhostMuxer struct {
vhostFunc muxFunc vhostFunc muxFunc
registryMap map[string]*Listener registryMap map[string]*Listener
mutex sync.RWMutex 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) { func NewVhostMuxer(listener *conn.Listener, vhostFunc muxFunc, timeout time.Duration) (mux *VhostMuxer, err error) {