Commit a975c614 authored by Howard Chu's avatar Howard Chu
Browse files

More for #6220, don't timeout idle connections when writetimeout is

set and idletimeout is not.
parent 31084aff
......@@ -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 );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment