diff options
author | oci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-05-29 18:16:23 +0000 |
---|---|---|
committer | oci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-05-29 18:16:23 +0000 |
commit | a71aa07fa23ff894813e3329f1bd6e9c3f63e760 (patch) | |
tree | 51289be9ed5985157fe27a2939c74cba5b01620c /TAO/tao/Strategies | |
parent | e7a21c10ac1fb31b424e482b21675ef8d6304d16 (diff) | |
download | ATCD-a71aa07fa23ff894813e3329f1bd6e9c3f63e760.tar.gz |
ChangeLog tag Tue May 29 13:01:54 2001 Phil Mesnier <mesnier_p@ociweb.com>
Diffstat (limited to 'TAO/tao/Strategies')
-rw-r--r-- | TAO/tao/Strategies/SHMIOP_Acceptor.cpp | 5 | ||||
-rw-r--r-- | TAO/tao/Strategies/UIOP_Acceptor.cpp | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/TAO/tao/Strategies/SHMIOP_Acceptor.cpp b/TAO/tao/Strategies/SHMIOP_Acceptor.cpp index b8f1604801f..170a6b353b0 100644 --- a/TAO/tao/Strategies/SHMIOP_Acceptor.cpp +++ b/TAO/tao/Strategies/SHMIOP_Acceptor.cpp @@ -318,6 +318,11 @@ TAO_SHMIOP_Acceptor::open_i (TAO_ORB_Core* orb_core) } this->host_ = tmp_host; + (void) this->base_acceptor_.acceptor().enable (ACE_CLOEXEC); + // This avoids having child processes acquire the listen socket thereby + // denying the server the opportunity to restart on a well-known endpoint. + // This does not affect the aberrent behavior on Win32 platforms. + if (TAO_debug_level > 5) { ACE_DEBUG ((LM_DEBUG, diff --git a/TAO/tao/Strategies/UIOP_Acceptor.cpp b/TAO/tao/Strategies/UIOP_Acceptor.cpp index a41f51b7133..cbb5592d386 100644 --- a/TAO/tao/Strategies/UIOP_Acceptor.cpp +++ b/TAO/tao/Strategies/UIOP_Acceptor.cpp @@ -312,6 +312,11 @@ TAO_UIOP_Acceptor::open_i (const char *rendezvous) return -1; } + (void) this->base_acceptor_.acceptor().enable (ACE_CLOEXEC); + // This avoids having child processes acquire the listen socket thereby + // denying the server the opportunity to restart on a well-known endpoint. + // This does not affect the aberrent behavior on Win32 platforms. + // @@ If Profile creation is slow we may need to cache the // rendezvous point here |