Attila Bukor has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/9818


Change subject: KUDU-2351 Add IP/port for Recv() failure
......................................................................

KUDU-2351 Add IP/port for Recv() failure

Error messages like "Recv() got EOF from remote" and "recv error:"
don't contain the remote address, making it hard to locate the server
the connection failed to.

This change introduces adds the peer's IP address and port number to
these error messages.

Examples:

Recv() got EOF from remote 127.0.0.1:7050
recv error from 127.0.0.1:7050: Resource temporarily unavailable

Change-Id: I22436b13bb351b132e1c0b7159294dd0c980c2b3
---
M src/kudu/util/CMakeLists.txt
A src/kudu/util/net/socket-test.cc
M src/kudu/util/net/socket.cc
3 files changed, 110 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/18/9818/1
--
To view, visit http://gerrit.cloudera.org:8080/9818
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I22436b13bb351b132e1c0b7159294dd0c980c2b3
Gerrit-Change-Number: 9818
Gerrit-PatchSet: 1
Gerrit-Owner: Attila Bukor <[email protected]>

Reply via email to