Displaying 12 results from an estimated 12 matches for "start_socket_client".
2003 Jul 24
0
(no subject)
...***
--- 715,721 ----
if ((rc = copy_argv(argv)))
return rc;
+ if (!read_batch) {
/* rsync:// always uses rsync server over direct socket connection
*/
if (strncasecmp(URL_PREFIX, argv[0], strlen(URL_PREFIX)) == 0) {
char *host, *path;
***************
*** 732,739 ****
return start_socket_client(host, path, argc-1, argv+1);
}
! if (!read_batch) {
! p = find_colon(argv[0]);
if (p) {
if (p[1] == ':') { /* double colon */
--- 736,742 ----
return start_socket_client(host, path, argc-1, argv+1);
}
! p = find_colon(argv[0]);
if (p) {
if (p[1] == ...
2002 Jul 20
0
[PATCH] (Resubmission) Enable push to remote rsynced server using rsync:// URL
...eive from remote rsyncd server. */
host = argv[0] + strlen(URL_PREFIX);
p = strchr(host,'/');
@@ -695,6 +697,8 @@
if (p) {
if (p[1] == ':') { /* double colon */
+ /* First parameter is HOST::MODULE.
+ * Receive from remote rsyncd server. */
*p = 0;
return start_socket_client(argv[0], p+2, argc-1, argv+1);
}
@@ -704,6 +708,8 @@
exit_cleanup(RERR_SYNTAX);
}
+ /* First parameter is HOST:MODULE.
+ * Receive from remote shell. */
am_sender = 0;
*p = 0;
shell_machine = argv[0];
@@ -713,10 +719,34 @@
} else {
am_sender = 1;
+ if (strncasecmp(UR...
2001 Aug 22
1
@RSYNC EXIT / @RSYNC EOF
...entserver.c
===================================================================
RCS file: /data/cvs/rsync/clientserver.c,v
retrieving revision 1.69
diff -u -p -r1.69 clientserver.c
--- clientserver.c 15 Aug 2001 06:44:44 -0000 1.69
+++ clientserver.c 22 Aug 2001 04:15:12 -0000
@@ -44,7 +44,8 @@ int start_socket_client(char *host, char
extern int am_sender;
extern struct in_addr socket_address;
extern char *shell_cmd;
-
+ extern int kludge_around_eof;
+
if (argc == 0 && !am_sender) {
extern int list_only;
list_only = 1;
@@ -107,6 +108,10 @@ int start_socket_client(char *host, char
if (p)...
2001 Nov 20
2
rsync server over SSH [includes code patches]
...d).
Other changes include:
- main() will call start_daemon() instead of start_server() if the
program is called with both '--server' and '--daemon'.
- start_daemon() is modified to no longer be static (it needs to be
visible in main.c) and to take two file descriptors.
- start_socket_client() had most of its code removed and turned into a
new function, start_inband_exchange(), which is used by both
start_socket_client() and start_client().
- start_client() is modified to handle the ':::' syntax: it calls
start_inband_exchange() after making the rsh/ssh connection to...
2004 Jun 17
1
[PATCH] make write_batch local
...ndex: main.c
===================================================================
RCS file: /cvsroot/rsync/main.c,v
retrieving revision 1.197
diff -c -b -d -r1.197 main.c
*** a/main.c 11 Jun 2004 07:40:54 -0000 1.197
--- b/main.c 17 Jun 2004 04:01:56 -0000
***************
*** 735,743 ****
return start_socket_client(host, path, argc-1, argv+1);
}
! if (!read_batch) {
p = find_colon(argv[0]);
! if (p) {
if (remote_filesfrom_file
&& remote_filesfrom_file != files_from + 1
&& strncmp(files_from, argv[0], p-argv[0]+1) != 0) {
--- 735,743 ----
return start_socket_cl...
2002 Feb 06
1
rsync error: unexplained error (code -1) at main.c(842)
I'm running rsync 2.5.1 on solaris 7 in server mode and getting the
above message when entering the following command:
rsync -vraz --delete hostname::test ./
this is my rsyncd.conf
use chroot = no
max connections = 25
syslog facility = local 3
read only = false
log file = /var/log/rsyncd.log
pid file = /var/log/rsyncd.pid
lock file = /var/log/rsyncd.lock
[test]
path = /export/home/mrl315
2008 Apr 26
1
Bug#477931: rsync: Segfaults syncing the linux kernel archive.
...es (f_out=3, local_name=0x0)
> at generator.c:2214
> #5 0x000000000041f651 in do_recv (f_in=3, f_out=3, local_name=0x0)
> at main.c:839
> #6 0x000000000041fdbe in client_run (f_in=3, f_out=3, pid=-1, argc=1,
> argv=0x682338) at main.c:1077
> #7 0x000000000043f035 in start_socket_client (
> host=0x6827a8 "filehub.kernel.org", remote_argc=1, remote_argv=0x682330,
> argc=1, argv=0x682338) at clientserver.c:132
> #8 0x00000000004204c0 in start_client (argc=1, argv=0x682338) at main.c:1243
> #9 0x0000000000420cf5 in main (argc=2, argv=0x682330) at main....
2004 Dec 07
1
rsync hangs when tunneling... help!
...match.c:114
#7 0x805196e in match_sums (f=3, s=0x807b020, buf=0x807d0c0, len=12530436)
at match.c:353
#8 0x804d0fd in send_files (flist=0x807b120, f_out=3, f_in=3) at sender.c:240
#9 0x80500d0 in client_run (f_in=3, f_out=3, pid=-1, argc=1, argv=0x807d000)
at main.c:688
#10 0x805dc9c in start_socket_client (host=0x807d048 "box.mfnx.net",
path=0x807d063 "box.mfnx.net/data/", argc=1, argv=0x807d000)
at clientserver.c:98
#11 0x80504ec in start_client (argc=2, argv=0x807d000) at main.c:861
#12 0x8050a8d in main (argc=2, argv=0x807d000) at main.c:1142
#13 0x804a069 in _start ()...
2008 Feb 26
4
rsync-3.0.0pre10 and iconv
Hello,
I am trying to get rsync-3.0.0pre10 --iconv option working between two linux hosts in local network.
The client host is running Fedora Core 4 (kernel 2.6.17) and is using iso8859-1 character set. LANG=en_US
The daemon host is running Centos 5 (kernel 2.6.18) and is using utf-8 character set. LANG=en_US.UTF-8
Rsync is transferring files properly without --iconv switch:
fc4: (connected
2005 Nov 01
2
request: add TCP buffer options to rsync CLI?
Dear rsync folks,
I'd like to request/suggest that cli options to set TCP send/receive buffers
be added to rsync client-side.
Summary:
I'm aware that a daemon's config-file can set socket options for
the server side
(e.g. SO_SNDBUF, SO_RCVBUF). That is useful.
But when trying to get high-throughput rsync over
long paths (i.e. large bandwidth*delay product), since
2001 Aug 06
1
merge rsync+ into rsync (was Re: rsync-2.4.7 NEWS file)
> Just curious: what about the rsync+ patch?
Thanks for the reminder.
I've just committed Jos's rsync+ patch onto the
"branch_mbp_rsyncplus_merge" branch. If it works OK and nobody
screams I will move it across onto the main tree tomorrow or
Wednesday.
I see the patch doesn't add documentation about the new options to the
man page, so we should fix that in the future.
2002 Feb 07
1
Latest version of the batch mode cleanup patch
...(!write_batch) /* dw */
+ if (!write_batch)
send_exclude_list(f_out);
flist = recv_file_list(f_in);
@@ -658,6 +658,7 @@
extern char *shell_cmd;
extern int rsync_port;
extern int whole_file;
+ extern int write_batch;
extern int read_batch;
int rc;
@@ -685,7 +686,7 @@
return start_socket_client(host, path, argc-1, argv+1);
}
- if (!read_batch) { /* dw */
+ if (!read_batch) {
p = find_colon(argv[0]);
if (p) {
@@ -711,8 +712,11 @@
p = find_colon(argv[argc-1]);
if (!p) {
local_server = 1;
- /* disable "rsync algorithm" when both sides local */
- if (whol...