Skip to content
Snippets Groups Projects
Commit c9ef0da6 authored by Howard Chu's avatar Howard Chu
Browse files

Don't timeout slow-running operations

parent dcd777b0
No related branches found
No related tags found
No related merge requests found
......@@ -193,6 +193,9 @@ int connections_timeout_idle(time_t now)
c != NULL;
c = connection_next( c, &connindex ) )
{
/* Don't timeout a slow-running request */
if( c->c_n_ops_executing ) continue;
if( difftime( c->c_activitytime+global_idletimeout, now) < 0 ) {
/* close it */
connection_closing( c );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment