Fix for rsync server processes hanging around after the client

unexpectedly disconnects.  (Colin Walters) (Debian bug #128632)
This commit is contained in:
Martin Pool committed 2002-02-18 19:54:00 +00:00
1 parent 900748fca1
commit befbfe6115
2 files changed
+6

No files matched your search

+3
View File
@@ -17,6 +17,9 @@ rsync 2.5.3 (not released yet)
* Fixed problem on systems such as Sunos4 that do not support realloc
on a NULL pointer; error was "out of memory in flist_expand".
* Fix for rsync server processes hanging around after the client
unexpectedly disconnects. (Colin Walters) (Debian bug #128632)
ENHANCEMENTS:
* Command to initiate connections is only shown with -vv, rather
+3
View File
@@ -454,6 +454,9 @@ static void writefd_unbuffered(int fd,char *buf,size_t len)
}
if (ret <= 0) {
/* Don't try to write errors back
* across the stream */
io_multiplexing_close();
rprintf(FERROR,
"error writing %d unbuffered bytes"
" - exiting: %s\n", len,