diff options
author | bala <balanatarajan@users.noreply.github.com> | 2002-03-12 21:28:13 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2002-03-12 21:28:13 +0000 |
commit | b5762ef5d6305ede2ce1947a2f77bcec5fe4217d (patch) | |
tree | 5d6a224d091dc8c92b0c0255ba1ab87313570534 | |
parent | 815acbe93842fcd1d53c01e14b9f3b9acd1b0bb4 (diff) | |
download | ATCD-b5762ef5d6305ede2ce1947a2f77bcec5fe4217d.tar.gz |
ChangeLogTag: Tue Mar 12 15:22:29 2002 Balachandran Natarajan <bala@cs.wustl.edu>
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-02a | 10 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-03a | 10 | ||||
-rw-r--r-- | THANKS | 1 | ||||
-rw-r--r-- | ace/OS.i | 9 |
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: @@ -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 @@ -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 */ |