mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-04 06:54:45 +08:00
优化服务发现
This commit is contained in:
@@ -112,7 +112,7 @@ func (agent *RpcAgent) Run() {
|
||||
for {
|
||||
data,err := agent.conn.ReadMsg()
|
||||
if err != nil {
|
||||
log.Error("read message: %v", err)
|
||||
log.Error("read message: %v,remoteAddress:%s", err,agent.conn.RemoteAddr().String())
|
||||
//will close tcpconn
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user