Displaying 4 results from an estimated 4 matches for "shutdown_all_sockets".
2010 Jun 02
1
rsync 3.0.7 network errors on MS-Windows
...nc error: error in rsync protocol data stream (code 12) at io.c(760)
[receiver=3.0.7]
Googling I see that these problems were put down to the way socket are
cleaned up in Windows and a fix put in place in cleanup.c, in close_all().
But the fix is surrounded by conditional compilation:-
#ifdef SHUTDOWN_ALL_SOCKETS
:
:
#endif
Can someone please explain why that is? Shouldn't the fix just be there
always, and regardless of which operating system?
Regards,
Andrew Marlow
___________________________________________________________
This e-mail may contain confidential and/or privileged information....
2003 Apr 15
0
Patch for stderr logging
...leanup.c Sun Jan 26 19:35:08 2003
+++ rsync-2.5.6.new/cleanup.c Sun Apr 13 22:04:54 2003
@@ -26,7 +26,7 @@
* shutdown() of socket connections. This eliminates the abortive
* TCP RST sent by a Winsock-based system when the close() occurs.
**/
-void close_all()
+void close_all(void)
{
#ifdef SHUTDOWN_ALL_SOCKETS
int max_fd;
diff -Nuar rsync-2.5.6/clientserver.c rsync-2.5.6.new/clientserver.c
--- rsync-2.5.6/clientserver.c Sun Jan 26 12:08:14 2003
+++ rsync-2.5.6.new/clientserver.c Sat Apr 12 21:30:21 2003
@@ -576,7 +576,7 @@
/* we are running via inetd - close off stdout and
stderr so that libra...
2005 Nov 18
12
[Bug 3271] New: Rsync instances stay in memory when using in daemon mode
https://bugzilla.samba.org/show_bug.cgi?id=3271
Summary: Rsync instances stay in memory when using in daemon mode
Product: rsync
Version: 2.6.7
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy:
2003 Jun 25
3
patch draft for extended attributes on linux
...2003-01-27 14:35:08.000000000 +1100
+++ xa/cleanup.c 2003-06-24 16:16:58.000000000 +1000
@@ -26,7 +26,7 @@
* shutdown() of socket connections. This eliminates the abortive
* TCP RST sent by a Winsock-based system when the close() occurs.
**/
-void close_all()
+void close_all(void)
{
#ifdef SHUTDOWN_ALL_SOCKETS
int max_fd;
diff -urpdN -x .ignore -x packaging -x cvs.log -x configure -x config.h.in -x autom4te.cache -x config.log -x .cvsignore -x dummy -x .svn -x ID -x TAGS rsync-2.5.6/configure.in xa/configure.in
--- rsync-2.5.6/configure.in 2003-01-28 16:27:40.000000000 +1100
+++ xa/configure.in 2003-06...