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
d85d029b
Commit
d85d029b
authored
Nov 15, 2009
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak the noop_io_until_death() timeout and comment it.
parent
d620b907
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
io.c
io.c
+6
-1
No files found.
io.c
View file @
d85d029b
...
...
@@ -807,7 +807,12 @@ void noop_io_until_death(void)
char
buf
[
1024
];
kluge_around_eof
=
1
;
set_io_timeout
(
protocol_version
>=
31
?
10
:
1
);
/* For protocol 31: setting an I/O timeout ensures that if something
* inexplicably weird happens, we won't hang around forever. For older
* protocols: we can't tell the other side to die, so we linger a brief
* time (to try to give our error messages time to arrive) and then let
* the "unexpectedly" closed socket tell them to die. */
set_io_timeout
(
protocol_version
>=
31
?
30
:
1
);
while
(
1
)
read_buf
(
iobuf
.
in_fd
,
buf
,
sizeof
buf
);
...
...
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