summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2002-03-12 21:28:13 +0000
committerbala <balanatarajan@users.noreply.github.com>2002-03-12 21:28:13 +0000
commitb5762ef5d6305ede2ce1947a2f77bcec5fe4217d (patch)
tree5d6a224d091dc8c92b0c0255ba1ab87313570534
parent815acbe93842fcd1d53c01e14b9f3b9acd1b0bb4 (diff)
downloadATCD-b5762ef5d6305ede2ce1947a2f77bcec5fe4217d.tar.gz
ChangeLogTag: Tue Mar 12 15:22:29 2002 Balachandran Natarajan <bala@cs.wustl.edu>
-rw-r--r--ChangeLog10
-rw-r--r--ChangeLogs/ChangeLog-02a10
-rw-r--r--ChangeLogs/ChangeLog-03a10
-rw-r--r--THANKS1
-rw-r--r--ace/OS.i9
5 files changed, 38 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2be582793ea..43054c1637d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+Tue Mar 12 15:22:29 2002 Balachandran Natarajan <bala@cs.wustl.edu>
+
+ * ace/OS.i (sendv): When using winsock1, we transfer data by
+ sending one iovec at a time. If transfer of a buffer isnt
+ complete because the socket buffers got full, we need to drop
+ out of the loop that sends data. Thanks to Stephan Gudmundson
+ <stephang@netacquire.com> for providing this patch.
+
+ * THANKS: Added Stephan Gudmundson to the Hall of fame.
+
Mon Feb 25 14:06:45 2002 Chad Elliott <elliott_c@ociweb.com>
* ace/config-hpux-11.00.h:
diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a
index 2be582793ea..43054c1637d 100644
--- a/ChangeLogs/ChangeLog-02a
+++ b/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,13 @@
+Tue Mar 12 15:22:29 2002 Balachandran Natarajan <bala@cs.wustl.edu>
+
+ * ace/OS.i (sendv): When using winsock1, we transfer data by
+ sending one iovec at a time. If transfer of a buffer isnt
+ complete because the socket buffers got full, we need to drop
+ out of the loop that sends data. Thanks to Stephan Gudmundson
+ <stephang@netacquire.com> for providing this patch.
+
+ * THANKS: Added Stephan Gudmundson to the Hall of fame.
+
Mon Feb 25 14:06:45 2002 Chad Elliott <elliott_c@ociweb.com>
* ace/config-hpux-11.00.h:
diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a
index 2be582793ea..43054c1637d 100644
--- a/ChangeLogs/ChangeLog-03a
+++ b/ChangeLogs/ChangeLog-03a
@@ -1,3 +1,13 @@
+Tue Mar 12 15:22:29 2002 Balachandran Natarajan <bala@cs.wustl.edu>
+
+ * ace/OS.i (sendv): When using winsock1, we transfer data by
+ sending one iovec at a time. If transfer of a buffer isnt
+ complete because the socket buffers got full, we need to drop
+ out of the loop that sends data. Thanks to Stephan Gudmundson
+ <stephang@netacquire.com> for providing this patch.
+
+ * THANKS: Added Stephan Gudmundson to the Hall of fame.
+
Mon Feb 25 14:06:45 2002 Chad Elliott <elliott_c@ociweb.com>
* ace/config-hpux-11.00.h:
diff --git a/THANKS b/THANKS
index 1035af1b694..a2f247e5382 100644
--- a/THANKS
+++ b/THANKS
@@ -1474,6 +1474,7 @@ Carsten Prescher <carsten.prescher@sysde.eads.net>
Raghuram Shetty <Raghuram.Shetty@comverse.com>
Val Dumiterscu <val.dumitrescu@am-beo.com>
Oleg Kraynov <olegvkr@yahoo.com>
+Stephan Gudmundson <stephang@netacquire.com>
I would particularly like to thank Paul Stephenson, who worked with me
at Ericsson in the early 1990's. Paul devised the recursive Makefile
diff --git a/ace/OS.i b/ace/OS.i
index d4a17376769..24c344b303b 100644
--- a/ace/OS.i
+++ b/ace/OS.i
@@ -7891,7 +7891,7 @@ ACE_OS::thr_yield (void)
# elif defined (VXWORKS)
// An argument of 0 to ::taskDelay doesn't appear to yield the
// current thread.
- // Now, it does seem to work. The context_switch_time test
+ // Now, it does seem to work. The context_switch_time test
// works fine with task_delay set to 0.
::taskDelay (0);
# endif /* ACE_HAS_STHREADS */
@@ -8046,7 +8046,12 @@ ACE_OS::sendv (ACE_HANDLE handle,
buffers[i].iov_base,
buffers[i].iov_len,
0);
- bytes_sent += buffers[i].iov_len; // Gets ignored on error anyway
+ // Gets ignored on error anyway
+ bytes_sent += buffers[i].iov_len;
+
+ // If the transfer isnt complete just drop out of the loop.
+ if (result < buffers[i].iov_len)
+ break;
}
# endif /* ACE_HAS_WINSOCK2 != 0 */