summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--ChangeLogs/ChangeLog-02a9
-rw-r--r--ChangeLogs/ChangeLog-03a9
-rw-r--r--examples/IOStream/server/iostream_server.cpp7
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"));