diff options
author | oci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-04-18 19:13:26 +0000 |
---|---|---|
committer | oci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-04-18 19:13:26 +0000 |
commit | 2d1e89f576591b8be813029125ea9c27526fe327 (patch) | |
tree | 6f516391243b996e4483d9713fbe5aec0bddeb3e | |
parent | a3565c1599613caedb992adb5c8a40412d4c86ca (diff) | |
download | ATCD-2d1e89f576591b8be813029125ea9c27526fe327.tar.gz |
ChangeLogTag: Wed Apr 18 13:57:40 2001 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-02a | 10 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-03a | 10 | ||||
-rw-r--r-- | ace/ACE.cpp | 16 |
4 files changed, 38 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog index f51977c8fc9..0c1b08bbf49 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +Wed Apr 18 13:57:40 2001 Chad Elliott <elliott_c@ociweb.com> + + * ace/ACE.cpp: + + Modification to check errno for ENOBUFS (in addition to + EWOULDBLOCK) after writing to a file descriptor. This will happen + on VxWorks when a client sends data faster than the server can + receive it. This modification causes this to be a retry situation + instead of an error. [Bug 866] + Wed Apr 18 11:33:07 2001 Balachandran Natarajan <bala@cs.wustl.edu> * bin/auto_run_tests.lst: Added the BiDirectional tests to the diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a index f51977c8fc9..0c1b08bbf49 100644 --- a/ChangeLogs/ChangeLog-02a +++ b/ChangeLogs/ChangeLog-02a @@ -1,3 +1,13 @@ +Wed Apr 18 13:57:40 2001 Chad Elliott <elliott_c@ociweb.com> + + * ace/ACE.cpp: + + Modification to check errno for ENOBUFS (in addition to + EWOULDBLOCK) after writing to a file descriptor. This will happen + on VxWorks when a client sends data faster than the server can + receive it. This modification causes this to be a retry situation + instead of an error. [Bug 866] + Wed Apr 18 11:33:07 2001 Balachandran Natarajan <bala@cs.wustl.edu> * bin/auto_run_tests.lst: Added the BiDirectional tests to the diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a index f51977c8fc9..0c1b08bbf49 100644 --- a/ChangeLogs/ChangeLog-03a +++ b/ChangeLogs/ChangeLog-03a @@ -1,3 +1,13 @@ +Wed Apr 18 13:57:40 2001 Chad Elliott <elliott_c@ociweb.com> + + * ace/ACE.cpp: + + Modification to check errno for ENOBUFS (in addition to + EWOULDBLOCK) after writing to a file descriptor. This will happen + on VxWorks when a client sends data faster than the server can + receive it. This modification causes this to be a retry situation + instead of an error. [Bug 866] + Wed Apr 18 11:33:07 2001 Balachandran Natarajan <bala@cs.wustl.edu> * bin/auto_run_tests.lst: Added the BiDirectional tests to the diff --git a/ace/ACE.cpp b/ace/ACE.cpp index fded2a0961a..b4a4bab492a 100644 --- a/ace/ACE.cpp +++ b/ace/ACE.cpp @@ -1490,7 +1490,7 @@ ACE::send_n_i (ACE_HANDLE handle, if (n == -1) { // Check for possible blocking. - if (errno == EWOULDBLOCK) + if (errno == EWOULDBLOCK || errno == ENOBUFS) { // Wait for the blocking to subside. int result = ACE::handle_write_ready (handle, @@ -1548,7 +1548,7 @@ ACE::send_n_i (ACE_HANDLE handle, { // Check for possible blocking. if (n == -1 && - errno == EWOULDBLOCK) + errno == EWOULDBLOCK || errno == ENOBUFS) { // Wait upto <timeout> for the blocking to subside. int rtn = ACE::handle_write_ready (handle, @@ -1610,7 +1610,7 @@ ACE::t_snd_n_i (ACE_HANDLE handle, if (n == -1) { // Check for possible blocking. - if (errno == EWOULDBLOCK) + if (errno == EWOULDBLOCK || errno == ENOBUFS) { // Wait for the blocking to subside. int result = ACE::handle_write_ready (handle, @@ -1668,7 +1668,7 @@ ACE::t_snd_n_i (ACE_HANDLE handle, { // Check for possible blocking. if (n == -1 && - errno == EWOULDBLOCK) + errno == EWOULDBLOCK || errno == ENOBUFS) { // Wait upto <timeout> for the blocking to subside. int rtn = ACE::handle_write_ready (handle, @@ -1728,7 +1728,7 @@ ACE::send_n_i (ACE_HANDLE handle, if (n == -1) { // Check for possible blocking. - if (errno == EWOULDBLOCK) + if (errno == EWOULDBLOCK || errno == ENOBUFS) { // Wait for the blocking to subside. int result = ACE::handle_write_ready (handle, @@ -1784,7 +1784,7 @@ ACE::send_n_i (ACE_HANDLE handle, { // Check for possible blocking. if (n == -1 && - errno == EWOULDBLOCK) + errno == EWOULDBLOCK || errno == ENOBUFS) { // Wait upto <timeout> for the blocking to subside. int rtn = ACE::handle_write_ready (handle, @@ -1908,7 +1908,7 @@ ACE::sendv_n_i (ACE_HANDLE handle, if (n == -1) { // Check for possible blocking. - if (errno == EWOULDBLOCK) + if (errno == EWOULDBLOCK || errno == ENOBUFS) { // Wait for the blocking to subside. int result = ACE::handle_write_ready (handle, @@ -1981,7 +1981,7 @@ ACE::sendv_n_i (ACE_HANDLE handle, { // Check for possible blocking. if (n == -1 && - errno == EWOULDBLOCK) + errno == EWOULDBLOCK || errno == ENOBUFS) { // Wait upto <timeout> for the blocking to subside. int rtn = ACE::handle_write_ready (handle, |