diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-02-19 21:20:27 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-02-19 21:20:27 +0000 |
commit | e970c04cca77c7e5ab2eb0790b41f9c99aed0f86 (patch) | |
tree | b9ee819a7be4f3b063a08eda632627c877c3acbd /ace/ACE.cpp | |
parent | 00e0ce1fb3fa50b27305c5d0b1872261329d42b0 (diff) | |
download | ATCD-e970c04cca77c7e5ab2eb0790b41f9c99aed0f86.tar.gz |
(recv_n): commented out the MSG_PEEK flag check because it caused IOStream_Test to not terminate
Diffstat (limited to 'ace/ACE.cpp')
-rw-r--r-- | ace/ACE.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ace/ACE.cpp b/ace/ACE.cpp index b81caac46ea..5f773bf3669 100644 --- a/ace/ACE.cpp +++ b/ace/ACE.cpp @@ -2100,7 +2100,12 @@ ACE::recv_n (ACE_HANDLE handle, i = ACE::recv (handle, (char *) buf + bytes_received, n - bytes_received, flags, timeout); +#if 0 + // This causes IOStream_Test to never terminate. if (i == -1 || i == 0 || ACE_BIT_ENABLED (flags, MSG_PEEK)) +#else /* 1 */ + if (i == -1 || i == 0) +#endif /* 1 */ break; } |