Search:
Login
Preferences
Help/Guide
About Trac
Wiki
Timeline
Roadmap
Browse Source
View Tickets
Search
Context Navigation
←
Previous Change
Next Change
→
Changeset
0c4d8fc
in code for
icbd.c
View differences
inline
side by side
Show
lines around each change
Show the changes in full context
Ignore:
Blank lines
Case changes
White space changes
Timestamp:
Mar 4, 2014, 11:17:15 AM (
11 years
ago)
Author:
Mike Belopuhov <mike@…>
Branches:
master
Children:
d488e1b
Parents:
5815eef
git-author:
Stuart Henderson <stu@…> (03/02/14 11:53:58)
git-committer:
Mike Belopuhov <mike@…> (03/04/14 11:17:15)
Message:
enable tcp keepalives to help clear out dead connections
File:
1 edited
icbd.c
(modified)
(
1 diff
)
Legend:
Unmodified
Added
Removed
icbd.c
r5815eef
r0c4d8fc
175
175
}
176
176
177
if (setsockopt(s, SOL_SOCKET, SO_KEEPALIVE, &on,
178
sizeof on) < 0) {
179
cause = "SO_KEEPALIVE";
180
save_errno = errno;
181
(void)close(s);
182
continue;
183
}
184
177
185
if (setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &on,
178
186
sizeof on) < 0) {
Note:
See
TracChangeset
for help on using the changeset viewer.
Download in other formats:
Unified Diff
Zip Archive