summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Network.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Network.cpp')
-rw-r--r--cpp/src/Ice/Network.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/Ice/Network.cpp b/cpp/src/Ice/Network.cpp
index e741c5e5c64..0f62100639d 100644
--- a/cpp/src/Ice/Network.cpp
+++ b/cpp/src/Ice/Network.cpp
@@ -118,7 +118,8 @@ IceInternal::connectionLost()
#else
return errno == ECONNRESET ||
errno == ESHUTDOWN ||
- errno == ECONNABORTED;
+ errno == ECONNABORTED ||
+ errno == EPIPE;
#endif
}