summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2002-12-04 22:52:49 +0000
committerSteve Huston <shuston@riverace.com>2002-12-04 22:52:49 +0000
commit2ce4b8998a957e595261838cb130db998aaa222d (patch)
tree1dcd997f064aa4795b14850df2ba31293b25c9dd
parentfa7f5217e8fd2774d57aa9d8b6ea285e310d1c6b (diff)
downloadATCD-2ce4b8998a957e595261838cb130db998aaa222d.tar.gz
ChangeLogTag:Wed Dec 4 17:47:49 2002 Steve Huston <shuston@riverace.com>
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLogs/ChangeLog-03a6
-rw-r--r--tests/Proactor_Test.cpp2
3 files changed, 13 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ab49847e1df..ea46f92a3ac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Wed Dec 4 17:47:49 2002 Steve Huston <shuston@riverace.com>
+
+ * tests/Proactor_Test.cpp: On Sender read complete, start another
+ read if either in full duplex mode OR writing has been stopped.
+ We want to catch the Receiver closing the socket (read 0 bytes).
+
Wed Dec 4 11:41:15 2002 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu>
* bin/auto_run_tests.lst: Added a Bug_1020_Regression to the
diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a
index ab49847e1df..ea46f92a3ac 100644
--- a/ChangeLogs/ChangeLog-03a
+++ b/ChangeLogs/ChangeLog-03a
@@ -1,3 +1,9 @@
+Wed Dec 4 17:47:49 2002 Steve Huston <shuston@riverace.com>
+
+ * tests/Proactor_Test.cpp: On Sender read complete, start another
+ read if either in full duplex mode OR writing has been stopped.
+ We want to catch the Receiver closing the socket (read 0 bytes).
+
Wed Dec 4 11:41:15 2002 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu>
* bin/auto_run_tests.lst: Added a Bug_1020_Regression to the
diff --git a/tests/Proactor_Test.cpp b/tests/Proactor_Test.cpp
index ce74a3babde..fe1e4ccc686 100644
--- a/tests/Proactor_Test.cpp
+++ b/tests/Proactor_Test.cpp
@@ -1760,7 +1760,7 @@ Sender::handle_read_stream (const ACE_Asynch_Read_Stream::Result &result)
{
this->total_rcv_ += result.bytes_transferred ();
- if (duplex != 0) // full duplex, continue read
+ if (duplex != 0 || this->stop_writing_) // full duplex, continue read
this->initiate_read_stream ();
else // half-duplex write, after write we will start read
this->initiate_write_stream ();