Lines Matching refs:timeout

234     apr_interval_time_t timeout;
238 * Several timeout queues that use different timeouts, so that we always can
278 (q)->timeout = (t); \
285 * The pollset for sockets that are in any of the timeout queues. Currently
287 * atomically to/from both event_pollset and a timeout queue. Otherwise
288 * some confusion can happen under high load if timeout queues and pollset
345 timer_event_t *cancel_event; /* If a timeout was requested, a pointer to the timer event */
913 * Pre-condition: cs is not in any timeout queue and not in the pollset,
933 * Pre-condition: cs is not in any timeout queue and not in the pollset,
957 * Pre-condition: cs is not in any timeout queue and not in the pollset
965 "socket reached timeout in lingering-close state");
1027 * the keepalive timeout from the base server (first on this IP:port)
1140 * fall thru to either wait for readability/timeout or
1164 * Set a write timeout for this connection, and let the
1196 /* It greatly simplifies the logic to use a single timeout value per q
1201 * timeout today. With a normal client, the socket will be readable in
1388 * Pre-condition: pfd->cs is neither in pollset nor timeout queue
1538 apr_time_t timeout)
1570 if (timeout > 0) {
1572 scb->cancel_event = event_get_timer_event(timeout + apr_time_now(), tofn, baton, 1, pfds);
1590 NULL, /* no timeout function */
1592 0 /* no timeout */);
1662 /* call 'func' for all elements of 'q' with timeout less than 'timeout_time'.
1688 * - it expired (according to the queue timeout), or
1691 * timeout, we won't keep any here (eg. for centuries).
1693 * single timeout per queue (entries are added to the end!).
1697 || cs->queue_timestamp + qp->timeout < timeout_time
1698 || cs->queue_timestamp > timeout_time + qp->timeout)) {
2126 * XXX: do we need to set some timeout that re-enables the listensocks
2322 /* Create the timeout mutex and main pollset before the listener
2329 "creation of the timeout mutex failed.");
3044 * only do it when there's a timeout. Remember only a
3051 /* we hit a 1 second timeout in which none of the previous
3467 TO_QUEUE_INIT(wc.q, pconf, s->timeout, NULL);
3468 apr_hash_set(wc.hash, &s->timeout, sizeof s->timeout, wc.q);
3477 /* The vhosts use any existing queue with the same timeout,
3479 wc.q = apr_hash_get(wc.hash, &s->timeout, sizeof s->timeout);
3481 TO_QUEUE_INIT(wc.q, pconf, s->timeout, wc.tail);
3482 apr_hash_set(wc.hash, &s->timeout, sizeof s->timeout, wc.q);