Commit 1af753a3 authored by Clayton Coleman's avatar Clayton Coleman

Merge pull request #420 from claire921/proxy

pkg/proxy: remove unnecessary go routine
parents 5ad37f0f 4d47db8b
...@@ -83,7 +83,7 @@ func (proxier Proxier) AcceptHandler(service string, listener net.Listener) { ...@@ -83,7 +83,7 @@ func (proxier Proxier) AcceptHandler(service string, listener net.Listener) {
inConn.Close() inConn.Close()
continue continue
} }
go ProxyConnection(inConn.(*net.TCPConn), outConn.(*net.TCPConn)) ProxyConnection(inConn.(*net.TCPConn), outConn.(*net.TCPConn))
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment