Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
orbea -
OpenLDAP
Commits
a975c614
Commit
a975c614
authored
Aug 17, 2009
by
Howard Chu
Browse files
More for #6220, don't timeout idle connections when writetimeout is
set and idletimeout is not.
parent
31084aff
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/connection.c
View file @
a975c614
...
...
@@ -242,7 +242,8 @@ int connections_timeout_idle(time_t now)
continue
;
}
if
(
difftime
(
c
->
c_activitytime
+
global_idletimeout
,
now
)
<
0
)
{
if
(
global_idletimeout
&&
difftime
(
c
->
c_activitytime
+
global_idletimeout
,
now
)
<
0
)
{
/* close it */
connection_closing
(
c
,
"idletimeout"
);
connection_close
(
c
);
...
...
Write
Preview
Supports
Markdown
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