summaryrefslogtreecommitdiff
path: root/TAO/tao/IIOP_Transport.cpp
diff options
context:
space:
mode:
authorbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-09-05 17:59:44 +0000
committerbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-09-05 17:59:44 +0000
commit23c70e00d7fd4a2029ad3ad9341bbc545568f111 (patch)
tree2cfd00dd8d517f4a4840cb663734fcb00ae8ca4b /TAO/tao/IIOP_Transport.cpp
parent1a9d4529aa7931c394852fba6484a1419d585410 (diff)
downloadATCD-23c70e00d7fd4a2029ad3ad9341bbc545568f111.tar.gz
ChangeLogTag: Wed Sep 5 12:35:33 2001 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/IIOP_Transport.cpp')
-rw-r--r--TAO/tao/IIOP_Transport.cpp13
1 files changed, 10 insertions, 3 deletions
diff --git a/TAO/tao/IIOP_Transport.cpp b/TAO/tao/IIOP_Transport.cpp
index 85e5f4b1d84..46d339d8c9e 100644
--- a/TAO/tao/IIOP_Transport.cpp
+++ b/TAO/tao/IIOP_Transport.cpp
@@ -85,9 +85,11 @@ TAO_IIOP_Transport::recv_i (char *buf,
len,
max_wait_time);
- // Most of the errors handling is common for
- // Now the message has been read
- if (n == -1 && TAO_debug_level > 4)
+ // Do not print the error message if it is a timeout, which could
+ // occur in thread-per-connection.
+ if (n == -1 &&
+ TAO_debug_level > 4 &&
+ errno != ETIME)
{
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT ("TAO (%P|%t) - %p \n"),
@@ -101,8 +103,13 @@ TAO_IIOP_Transport::recv_i (char *buf,
if (errno == EWOULDBLOCK)
return 0;
+
return -1;
}
+
+ // Most of the errors handling is common for
+ // Now the message has been read
+
// @@ What are the other error handling here??
else if (n == 0)
{