summaryrefslogtreecommitdiff
path: root/TAO/tao/UIOP_Connect.cpp
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-24 20:09:59 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-24 20:09:59 +0000
commit2129cd67e34ff7e3b8e02671bfad72fce3dc7194 (patch)
treea78e8e01d06f8a044e487126be760e0c78952ce0 /TAO/tao/UIOP_Connect.cpp
parentb47d4beceb791e87da7cc26a98e5e47a3756cae9 (diff)
downloadATCD-2129cd67e34ff7e3b8e02671bfad72fce3dc7194.tar.gz
Thu Jun 24 14:53:32 1999 Irfan Pyarali <irfan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/UIOP_Connect.cpp')
-rw-r--r--TAO/tao/UIOP_Connect.cpp21
1 files changed, 12 insertions, 9 deletions
diff --git a/TAO/tao/UIOP_Connect.cpp b/TAO/tao/UIOP_Connect.cpp
index 036a11b6882..045f65acc57 100644
--- a/TAO/tao/UIOP_Connect.cpp
+++ b/TAO/tao/UIOP_Connect.cpp
@@ -199,17 +199,20 @@ TAO_UIOP_Server_Connection_Handler::handle_input (ACE_HANDLE)
"TAO (%P|%t) - %p\n",
"UIOP_Server_CH::handle_input, handle_input"));
}
- if (result == 0)
- return 0;
- // ACE_ASSERT (result == 1);
+ if (result == 0 || result == -1)
+ return result;
- TAO_GIOP::process_server_message (this->transport (),
- this->orb_core_,
- this->transport_->message_state_.cdr,
- this->transport_->message_state_);
- this->transport_->message_state_.reset ();
- return 0;
+ result = TAO_GIOP::process_server_message (this->transport (),
+ this->orb_core_,
+ this->transport_->message_state_.cdr,
+ this->transport_->message_state_);
+ if (result != -1)
+ {
+ this->transport_->message_state_.reset ();
+ }
+
+ return result;
}
// ****************************************************************