ws: support set a different host header #157

This commit is contained in:
nadoo committed 2020-04-05 11:55:48 +08:00
1 parent 666c76f921
commit 855907c46b
5 files changed
+55 -49

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ func (p priSlice) Swap(i, j int) { p[i], p[j] = p[j], p[i] }
type Proxy struct {
config *Config
fwdrs priSlice
avail []*Forwarder // avaliable forwarders
avail []*Forwarder // available forwarders
mu sync.RWMutex
index uint32
priority uint32