diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-03-30 14:15:00 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-03-30 14:15:00 +0000 |
commit | f0359dd00d60d72c4b3dec85de8e490692f6015c (patch) | |
tree | 27e6e97f1eb09602f18700255db6883b3441012c /clientserver.c | |
parent | ef55c686bcb61d8c83e79eb73ed15639e4345d5c (diff) | |
download | rsync-f0359dd00d60d72c4b3dec85de8e490692f6015c.tar.gz |
went back to non-blokcing IO
it looks like ssh is willing to accept a non-blocking fd when used as
a transport, this seems to avoid the Solaris socketpair bug
Diffstat (limited to 'clientserver.c')
-rw-r--r-- | clientserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clientserver.c b/clientserver.c index df847ffc..7518e3e1 100644 --- a/clientserver.c +++ b/clientserver.c @@ -363,7 +363,7 @@ static int start_daemon(int fd) set_socket_options(fd,"SO_KEEPALIVE"); set_socket_options(fd,lp_socket_options()); - + set_nonblocking(fd); io_printf(fd,"@RSYNCD: %d\n", PROTOCOL_VERSION); |