diff options
author | Steve Huston <shuston@riverace.com> | 2001-03-02 18:22:10 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2001-03-02 18:22:10 +0000 |
commit | cd869c86f3aa82965e52769767fa6db6cf1e89d8 (patch) | |
tree | b2277d5b5ea920ec5c294c4b9602df83c72c4efb | |
parent | 6e7c8af96ee355d3a5a677bc6293a23dabd0f56f (diff) | |
download | ATCD-cd869c86f3aa82965e52769767fa6db6cf1e89d8.tar.gz |
ChangeLogTag:Fri Mar 02 13:17:36 2001 Steve Huston <shuston@riverace.com>
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-02a | 9 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-03a | 9 | ||||
-rw-r--r-- | examples/IOStream/server/iostream_server.cpp | 7 |
4 files changed, 27 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog index 0b32cee47d9..07c6d1ede9f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +Fri Mar 02 13:17:36 2001 Steve Huston <shuston@riverace.com> + + * examples/IOStream/server/iostream_server.cpp (main): Removed the + call to register peer_acceptor with the reactor. The acceptor::open + call already registers for ACCEPT_MASK. Prevents leaving a hanging + READ_MASK registered after the acceptor is destroyed when main() + returns. This fixes Bugzilla # 801. Thanks to Pim Philipse + <pph@rogan-medical.com> for reporting this. + Fri Mar 02 12:24:27 2001 Steve Huston <shuston@riverace.com> * ace/config-hpux-10.x-hpc++.h: If compiling without exceptions diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a index 0b32cee47d9..07c6d1ede9f 100644 --- a/ChangeLogs/ChangeLog-02a +++ b/ChangeLogs/ChangeLog-02a @@ -1,3 +1,12 @@ +Fri Mar 02 13:17:36 2001 Steve Huston <shuston@riverace.com> + + * examples/IOStream/server/iostream_server.cpp (main): Removed the + call to register peer_acceptor with the reactor. The acceptor::open + call already registers for ACCEPT_MASK. Prevents leaving a hanging + READ_MASK registered after the acceptor is destroyed when main() + returns. This fixes Bugzilla # 801. Thanks to Pim Philipse + <pph@rogan-medical.com> for reporting this. + Fri Mar 02 12:24:27 2001 Steve Huston <shuston@riverace.com> * ace/config-hpux-10.x-hpc++.h: If compiling without exceptions diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a index 0b32cee47d9..07c6d1ede9f 100644 --- a/ChangeLogs/ChangeLog-03a +++ b/ChangeLogs/ChangeLog-03a @@ -1,3 +1,12 @@ +Fri Mar 02 13:17:36 2001 Steve Huston <shuston@riverace.com> + + * examples/IOStream/server/iostream_server.cpp (main): Removed the + call to register peer_acceptor with the reactor. The acceptor::open + call already registers for ACCEPT_MASK. Prevents leaving a hanging + READ_MASK registered after the acceptor is destroyed when main() + returns. This fixes Bugzilla # 801. Thanks to Pim Philipse + <pph@rogan-medical.com> for reporting this. + Fri Mar 02 12:24:27 2001 Steve Huston <shuston@riverace.com> * ace/config-hpux-10.x-hpc++.h: If compiling without exceptions diff --git a/examples/IOStream/server/iostream_server.cpp b/examples/IOStream/server/iostream_server.cpp index 0aad9ba5a77..422eeb17ba9 100644 --- a/examples/IOStream/server/iostream_server.cpp +++ b/examples/IOStream/server/iostream_server.cpp @@ -112,13 +112,6 @@ main (int argc, char *argv []) "open"), -1); - else if (ACE_Reactor::instance ()->register_handler - (&peer_acceptor, - ACE_Event_Handler::READ_MASK) == - 1) - ACE_ERROR_RETURN ((LM_ERROR, - "registering service with ACE_Reactor\n"), - -1); - ACE_DEBUG ((LM_DEBUG, "(%P) starting up daemon\n")); |