diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-06-02 00:01:40 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-06-02 00:01:40 +0000 |
commit | 681c6255fda9d0c2ec452863921dec72544772fc (patch) | |
tree | 0a52afcbeb55bdf8ca36b02629be629d6f32552a /TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Acceptor.cpp | |
parent | cd23b9f55c59143dcee6b83dd139cffaebb255d0 (diff) | |
download | ATCD-681c6255fda9d0c2ec452863921dec72544772fc.tar.gz |
ChangeLogTag:Fri Jun 1 17:00:53 2001 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Acceptor.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Acceptor.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Acceptor.cpp b/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Acceptor.cpp index cdfc55df14c..5e797c79db5 100644 --- a/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Acceptor.cpp +++ b/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Acceptor.cpp @@ -479,6 +479,12 @@ TAO_SSLIOP_Acceptor::ssliop_open_i (TAO_ORB_Core *orb_core, // the user if provided. this->ssl_component_.port = ssl_address.get_port_number (); + (void) this->ssl_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) { for (size_t i = 0; i < this->endpoint_count_; ++i) |