diff options
Diffstat (limited to 'TAO/tao/Strategies/DIOP_Transport.cpp')
-rw-r--r-- | TAO/tao/Strategies/DIOP_Transport.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/tao/Strategies/DIOP_Transport.cpp b/TAO/tao/Strategies/DIOP_Transport.cpp index 82274b7cec7..7ddea78ace5 100644 --- a/TAO/tao/Strategies/DIOP_Transport.cpp +++ b/TAO/tao/Strategies/DIOP_Transport.cpp @@ -199,7 +199,7 @@ TAO_DIOP_Transport::handle_input_i (TAO_Resume_Handle &rh, // Read the message into the message block that we have created on // the stack. - ssize_t n = this->recv (message_block.rd_ptr (), + ssize_t n = this->recv (message_block.wr_ptr (), message_block.space (), max_wait_time); @@ -207,6 +207,7 @@ TAO_DIOP_Transport::handle_input_i (TAO_Resume_Handle &rh, if (n <= 0) { if (n == -1) + // @@ Why not send_connection_closed_notifications() ? this->tms_->connection_closed (); return n; |