connection out of the queue laps the thread that put it on the queue.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1538490 13f79535-47bb-0310-9956-
ffa450edef68
*/
cs->expiration_time = ap_server_conf->keep_alive_timeout +
apr_time_now();
+ c->sbh = NULL;
apr_thread_mutex_lock(timeout_mutex);
TO_QUEUE_APPEND(keepalive_q, cs);
"process_socket: apr_pollset_add failure");
AP_DEBUG_ASSERT(rc == APR_SUCCESS);
}
+ return;
}
else if (cs->pub.state == CONN_STATE_SUSPENDED) {
apr_atomic_inc32(&suspended_count);
*/
cs->expiration_time = ap_server_conf->keep_alive_timeout +
apr_time_now();
-
+ c->sbh = NULL;
/* Add work to pollset. */
v = ap_equeue_writer_value(eq);
v->timeout_type = TIMEOUT_KEEPALIVE;
v->tag = "process_socket(keepalive)";
ap_equeue_writer_onward(eq);
apr_pollset_wakeup(event_pollset);
+ return;
}
else if (cs->pub.state == CONN_STATE_SUSPENDED) {
apr_atomic_inc32(&suspended_count);