summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-transport
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/rpc-transport')
-rw-r--r--rpc/rpc-transport/socket/src/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/rpc-transport/socket/src/socket.c b/rpc/rpc-transport/socket/src/socket.c
index 24a8c8967ce..7229d0e3461 100644
--- a/rpc/rpc-transport/socket/src/socket.c
+++ b/rpc/rpc-transport/socket/src/socket.c
@@ -2503,7 +2503,7 @@ socket_poller (void *ctx)
"poll error on socket");
break;
}
- if (ret < 0) {
+ if (ret < 0 && errno != ENODATA) {
gf_log(this->name,GF_LOG_ERROR,
"error in polling loop");
break;