fix panic error when vhost_http_port is not set but there is a http
proxy, fix #776
This commit is contained in:
1 parent
3726f99b04
commit
ad1e32fd2d
2 files changed
+1
-2
No files matched your search
@@ -49,7 +49,6 @@ func getHostFromAddr(addr string) (host string) {
|
||||
|
||||
type HttpReverseProxy struct {
|
||||
proxy *ReverseProxy
|
||||
tr *http.Transport
|
||||
|
||||
vhostRouter *VhostRouters
|
||||
|
||||
|
||||
Reference in new issue
Block a user