fix socks5 bind

This commit is contained in:
rui.zheng
2016-10-06 13:50:41 +08:00
parent 0991952f0c
commit 538e5ba977
2 changed files with 65 additions and 66 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ func (s *HttpServer) HandleRequest(req *http.Request) {
return
}
// TODO: forward http request
// forward http request
lastNode := s.Base.Chain.lastNode
if lastNode != nil && (lastNode.Protocol == "http" || lastNode.Protocol == "") {
s.forwardRequest(req)