From 6dd51e095137aff36ba66dc0417402fa68bbf823 Mon Sep 17 00:00:00 2001 From: Maodanping <673698750@qq.com> Date: Sun, 24 Jul 2016 15:08:01 +0800 Subject: [PATCH] remove the extra filed --- src/frp/utils/vhost/vhost.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/frp/utils/vhost/vhost.go b/src/frp/utils/vhost/vhost.go index 1103829..d9a6b23 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) {