Merge pull request #5446 from gyuho/gateway_log

tcpproxy: log proxy start
This commit is contained in:
Xiang Li 2016-07-07 21:38:01 -07:00 committed by GitHub
commit b970e03e19

View File

@ -78,6 +78,7 @@ func (tp *TCPProxy) Run() error {
tp.remotes = append(tp.remotes, &remote{addr: ep})
}
plog.Printf("ready to proxy client requests to %v", tp.Endpoints)
go tp.runMonitor()
for {
in, err := tp.Listener.Accept()