mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Always stop the opposite goroutine in network_proxy.go (closes #1213)
This commit is contained in:
parent
1004d57b85
commit
c766d064ac
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ func (proxy *TCPProxy) clientLoop(client *net.TCPConn, quit chan bool) {
|
||||||
from.CloseWrite()
|
from.CloseWrite()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
to.CloseRead()
|
||||||
event <- written
|
event <- written
|
||||||
}
|
}
|
||||||
utils.Debugf("Forwarding traffic between tcp/%v and tcp/%v", client.RemoteAddr(), backend.RemoteAddr())
|
utils.Debugf("Forwarding traffic between tcp/%v and tcp/%v", client.RemoteAddr(), backend.RemoteAddr())
|
||||||
|
|
Loading…
Add table
Reference in a new issue