diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-07-22 11:34:18 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-07-22 11:34:18 +0000 |
commit | 402b3a1ec291d92dd436c0248c9bb0f3ce62c82b (patch) | |
tree | 3cacdd80884731dd236f6a4711f0337ea9b0d50e /TAO/tao/Synch_Reply_Dispatcher.cpp | |
parent | ac6c3a80af06ab93c8a20023a2543da0c71100d0 (diff) | |
download | ATCD-402b3a1ec291d92dd436c0248c9bb0f3ce62c82b.tar.gz |
Tue Jul 22 11:31:28 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/Synch_Reply_Dispatcher.cpp')
-rw-r--r-- | TAO/tao/Synch_Reply_Dispatcher.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/TAO/tao/Synch_Reply_Dispatcher.cpp b/TAO/tao/Synch_Reply_Dispatcher.cpp index aec04954877..571239f2e05 100644 --- a/TAO/tao/Synch_Reply_Dispatcher.cpp +++ b/TAO/tao/Synch_Reply_Dispatcher.cpp @@ -62,8 +62,14 @@ TAO_Synch_Reply_Dispatcher::dispatch_reply ( // this data. CORBA::ULong const max = params.svc_ctx_.maximum (); CORBA::ULong const len = params.svc_ctx_.length (); - IOP::ServiceContext* context_list = params.svc_ctx_.get_buffer (1); - this->reply_service_info_.replace (max, len, context_list, 1); + IOP::ServiceContext* context_list = params.svc_ctx_.get_buffer (true); + this->reply_service_info_.replace (max, len, context_list, true); + + if (this->reply_service_info_.length() > 0) + { + orb_core_->service_context_registry (). + process_service_contexts (this->reply_service_info_, *(params.transport_)); + } // Must reset the message state, it is possible that the same reply // dispatcher is used because the request must be re-sent. |