Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
e777afad
Commit
e777afad
authored
Feb 26, 2005
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set kludge_around_eof when the receiver is trying to read a
potential keep-alive message that may never come.
parent
87703a1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
main.c
main.c
+2
-0
No files found.
main.c
View file @
e777afad
...
...
@@ -35,6 +35,7 @@ extern int blocking_io;
extern
int
remove_sent_files
;
extern
int
daemon_over_rsh
;
extern
int
need_messages_from_generator
;
extern
int
kludge_around_eof
;
extern
int
do_stats
;
extern
int
log_got_error
;
extern
int
module_id
;
...
...
@@ -563,6 +564,7 @@ static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_name)
* USR2 signal. If --delete-after was specified, we might get
* a keep-alive message over the socket, so handle that too. */
if
(
protocol_version
>=
29
)
{
kludge_around_eof
=
1
;
while
(
read_int
(
f_in
)
==
flist
->
count
)
{
if
(
read_shortint
(
f_in
)
!=
ITEM_IS_NEW
)
break
;
/* Complain? */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment