Skip to content
Snippets Groups Projects
Commit 5231bf36 authored by Victor Vieux's avatar Victor Vieux
Browse files

Merge pull request #1222 from lopter/master

Always stop the opposite goroutine in network_proxy.go (closes #1213)
parents 1004d57b c766d064
No related branches found
No related tags found
No related merge requests found
......@@ -68,6 +68,7 @@ func (proxy *TCPProxy) clientLoop(client *net.TCPConn, quit chan bool) {
from.CloseWrite()
}
}
to.CloseRead()
event <- written
}
utils.Debugf("Forwarding traffic between tcp/%v and tcp/%v", client.RemoteAddr(), backend.RemoteAddr())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment