Since
88d22a1ca3b28e10e6557e8aebbd75dd61fed511 the writewait check
was moved out of connections_timeout_idle() but the connection loop
was still testing the writewait flag. That test is no longer relevant.
/* Don't timeout a slow-running request or a persistent
* outbound connection.
*/
- if((( c->c_n_ops_executing || c->c_n_ops_async ) && !c->c_writewaiter)
+ if( c->c_n_ops_executing || c->c_n_ops_async
|| c->c_conn_state == SLAP_C_CLIENT ) {
continue;
}
/* Don't close a slow-running request or a persistent
* outbound connection.
*/
- if((( c->c_n_ops_executing || c->c_n_ops_async ) && !c->c_writewaiter)
+ if( c->c_n_ops_executing || c->c_n_ops_async
|| c->c_conn_state == SLAP_C_CLIENT ) {
continue;
}