/httpd/modules/metadata/ |
H A D | mod_ident.c | 62 /* request timeout (sec) */ 84 apr_time_t timeout; member in struct:__anon258 88 server_rec *srv, apr_time_t timeout) 123 if ((rv = apr_socket_timeout_set(*newsock, timeout)) != APR_SUCCESS) { 125 "rfc1413: error setting query socket timeout"); 255 d->timeout = apr_time_from_sec(atoi(arg)); 265 conf->timeout = apr_time_from_sec(RFC1413_TIMEOUT); 277 conf->timeout = new->timeout_unset 278 ? old->timeout 279 : new->timeout; 87 rfc1413_connect(apr_socket_t **newsock, conn_rec *conn, server_rec *srv, apr_time_t timeout) argument [all...] |
/httpd/modules/dav/lock/ |
H A D | locks.c | 109 time_t timeout; member in struct:dav_lock_discovery_fixed 133 time_t timeout; member in struct:dav_lock_indirect 419 * dav_generic_lock_expired: return 1 (true) if the given timeout is in the 515 memcpy(ptr, &ip->timeout, sizeof(ip->timeout)); 516 ptr += sizeof(ip->timeout); 626 if (!dav_generic_lock_expired(dp->f.timeout)) { 641 memcpy(&ip->timeout, val.dptr + offset, sizeof(ip->timeout)); 642 offset += sizeof(ip->timeout); [all...] |
/httpd/modules/cache/ |
H A D | mod_cache_disk.h | 55 apr_time_t timeout; /* Max time to set aside */ member in struct:disk_cache_object
|
/httpd/server/mpm/simple/ |
H A D | simple_run.c | 153 apr_interval_time_t timeout = apr_time_from_msec(500); local 161 timeout = (head->expires - tnow); 162 if (timeout > apr_time_from_msec(500)) { 164 timeout = apr_time_from_msec(500); 169 timeout = 0; 174 rv = apr_pollcb_poll(sc->pollcb, timeout, simple_io_callback, sc);
|
H A D | simple_io.c | 44 "io timeout hit (?)"); 85 * fall thru to either wait for readability/timeout or 110 * Set a write timeout for this connection, and let the 119 timeout : ap_server_conf->timeout, 160 timeout : ap_server_conf->timeout,
|
/httpd/modules/dav/fs/ |
H A D | lock.c | 120 time_t timeout; member in struct:dav_lock_discovery_fixed 144 time_t timeout; member in struct:dav_lock_indirect 400 ** dav_fs_lock_expired: return 1 (true) if the given timeout is in the past 490 memcpy(ptr, &ip->timeout, sizeof(ip->timeout)); /* Expire time */ 491 ptr += sizeof(ip->timeout); 584 if (!dav_fs_lock_expired(dp->f.timeout)) { 615 memcpy(&ip->timeout, val.dptr + offset, sizeof(ip->timeout)); 616 offset += sizeof(ip->timeout); [all...] |
/httpd/modules/proxy/ |
H A D | ajp_utils.c | 26 apr_interval_time_t timeout) 65 /* Set CPING/CPONG response timeout */ 66 rc = apr_socket_timeout_set(sock, timeout); 98 /* Restore original socket timeout */ 24 ajp_handle_cping_cpong(apr_socket_t *sock, request_rec *r, apr_interval_time_t timeout) argument
|
H A D | mod_proxy.h | 155 apr_interval_time_t timeout; member in struct:__anon275 313 /* default worker retry timeout in seconds */ 332 (w)->s->timeout = (c)->timeout; \ 376 apr_interval_time_t timeout; /* connection timeout */ member in struct:__anon284 377 apr_interval_time_t acquire; /* acquire timeout when the maximum number of connections is exceeded */ 432 apr_interval_time_t timeout; /* Timeout for waiting on free connection */ member in struct:__anon286 470 int failontimeout; /* Whether to mark a member in Err if IO timeout occurs */ 872 * block until a connection becomes available or the timeout ha [all...] |
H A D | mod_proxy_balancer.c | 227 * operational if the retry timeout is elapsed. 251 * operational if the retry timeout is elapsed. 351 * If the balancer has a timeout sleep for a while 354 * By default the timeout is not set, and the server 357 if (balancer->s->timeout) { 363 apr_interval_time_t timeout = balancer->s->timeout; local 365 /* Set the timeout to 0 so that we don't 368 balancer->s->timeout = 0; 369 step = timeout / 10 [all...] |
H A D | mod_proxy.c | 65 apr_interval_time_t timeout; local 76 /* If set it will give the retry timeout for the worker 78 * in error state, it will be retried after that timeout. 122 /* Acquire timeout in given unit (default is milliseconds). 126 if (ap_timeout_parameter_parse(val, &timeout, "ms") != APR_SUCCESS) 127 return "Acquire timeout has wrong format"; 128 if (timeout < 1000) 130 worker->s->acquire = timeout; 133 else if (!strcasecmp(key, "timeout")) { 134 /* Connection timeout i 2070 int timeout; local [all...] |
H A D | ajp.h | 500 * @param timeout time window for receiving cpong reply 505 apr_interval_time_t timeout);
|
H A D | mod_proxy_scgi.c | 101 apr_interval_time_t timeout; local 104 apr_socket_timeout_get(p, &timeout); 115 apr_socket_timeout_set(p, timeout);
|
/httpd/modules/ssl/ |
H A D | ssl_util_ocsp.c | 60 apr_interval_time_t timeout, 85 apr_socket_timeout_set(sd, timeout); 285 apr_interval_time_t timeout, 301 sd = send_request(bio, uri, timeout, c, p); 59 send_request(BIO *request, const apr_uri_t *uri, apr_interval_time_t timeout, conn_rec *c, apr_pool_t *p) argument 284 modssl_dispatch_ocsp_request(const apr_uri_t *uri, apr_interval_time_t timeout, OCSP_REQUEST *request, conn_rec *c, apr_pool_t *p) argument
|
/httpd/support/win32/ |
H A D | wintty.c | 96 DWORD timeout = INFINITE; local 127 timeout = atoi(*argv) / 1000; 131 timeout = 0; 345 WaitForSingleObject(thread, timeout);
|
/httpd/modules/aaa/ |
H A D | mod_authn_socache.c | 37 apr_interval_time_t timeout; member in struct:authn_cache_dircfg 199 ret->timeout = apr_time_from_sec(300); 210 /* preserve context and timeout if not defaults */ 214 if (add->timeout == apr_time_from_sec(300)) { 215 ret->timeout = base->timeout; 240 cfg->timeout = apr_time_from_sec(secs); 332 expiry = apr_time_now() + dcfg->timeout;
|
/httpd/include/ |
H A D | ap_mpm.h | 228 * Register a callback on the readability or writability on a group of sockets, with a timeout 233 * @param tofn The callback function if the timeout expires 235 * @param timeout timeout for I/O in microseconds, unlimited if <= 0 249 apr_time_t timeout);
|
/httpd/modules/http/ |
H A D | http_core.c | 54 apr_interval_time_t timeout; local 61 if (ap_timeout_parameter_parse(arg, &timeout, "s") != APR_SUCCESS) 63 cmd->server->keep_alive_timeout = timeout; 69 * use its own configured timeout or the one from the vhost delared first 104 "Keep-Alive timeout duration (sec)"), 195 /* To preserve legacy behaviour, use the keepalive timeout from the
|
/httpd/modules/dav/main/ |
H A D | util_lock.c | 130 dav_buffer_append(p, pbuf, "<D:timeout>"); 131 if (lock->timeout == DAV_TIMEOUT_INFINITE) { 138 ** Check if the timeout is not, for any reason, already elapsed. 141 if (now >= lock->timeout) { 145 apr_snprintf(tmp, sizeof(tmp), "Second-%lu", (long unsigned int)(lock->timeout - now)); 151 "</D:timeout>" DEBUG_CR 200 lock->timeout = dav_get_timeout(r);
|
/httpd/modules/generators/ |
H A D | mod_cgi.c | 471 apr_file_pipe_timeout_set(*script_in, r->server->timeout); 477 apr_file_pipe_timeout_set(*script_out, r->server->timeout); 482 apr_file_pipe_timeout_set(*script_err, r->server->timeout); 679 apr_interval_time_t timeout; local 683 timeout = block == APR_NONBLOCK_READ ? 0 : data->r->server->timeout; 689 rv = apr_pollset_poll(data->pollset, timeout, &num, &results); 691 if (timeout) { 985 apr_file_pipe_timeout_set(script_err, r->server->timeout); 1036 apr_file_pipe_timeout_set(script_err, r->server->timeout); [all...] |
/httpd/server/mpm/motorz/ |
H A D | motorz.c | 100 return scon->c->base_server->timeout; 103 return ap_server_conf->timeout; 130 "io timeout hit (?)"); 357 * fall thru to either wait for readability/timeout or 383 * Set a write timeout for this connection, and let the 448 static apr_status_t motorz_pollset_cb(motorz_core_t *mz, apr_interval_time_t timeout) argument 454 rc = apr_pollset_poll(mz->pollset, timeout, &num, &out_pfd); 982 apr_interval_time_t timeout = apr_time_from_msec(500); local 989 timeout = (te->expires - tnow); 990 if (timeout > apr_time_from_mse [all...] |
/httpd/server/mpm/winnt/ |
H A D | child.c | 155 static winnt_conn_ctx_t *mpm_get_completion_context(int *timeout) argument 160 *timeout = 0; 205 *timeout = 1; 405 int timeout; local 407 context = mpm_get_completion_context(&timeout); 409 if (!timeout) { 708 * assumption of timeout -1 (really, a flaw of os_sock_make and 709 * os_sock_put that it does not query to determine ->timeout). 1259 * (no more than the global server timeout period which 1263 time_remains = (int)(ap_server_conf->timeout / APR_TIME_ [all...] |
/httpd/modules/ldap/ |
H A D | util_ldap.c | 456 "LDAP: Could not set the connection timeout"); 464 * function calls and not just ldap_search_ext_s(), which accepts a timeout 468 * XXX: ldap_result() with a timeout. 496 * Replacement function for ldap_simple_bind_s() with a timeout. 503 char* bindpw, struct timeval *timeout) 512 rc = ldap_result(ldc->ldap, msgid, 0, timeout, &result); 987 "failed with timeout"; 1144 ldc->reason = "ldap_compare_s() failed with timeout"; 1264 ldc->reason = "ldap_search_ext_s() for subgroups failed with timeout"; 1742 ldc->reason = "ldap_search_ext_s() for user failed with timeout"; 502 uldap_simple_bind(util_ldap_connection_t *ldc, char *binddn, char* bindpw, struct timeval *timeout) argument 2684 long timeout; local 2724 apr_interval_time_t timeout; local 2744 apr_interval_time_t timeout; local [all...] |
/httpd/server/ |
H A D | mpm_common.c | 114 (apr_socket_t **s, apr_pool_t *p, int for_read, ap_mpm_callback_fn_t *cbfn, ap_mpm_callback_fn_t *tofn, void *baton, apr_time_t timeout), 115 (s, p, for_read, cbfn, tofn, baton, timeout), APR_ENOTIMPL) 572 apr_time_t timeout) 574 return ap_run_mpm_register_socket_callback_timeout(s, p, for_read, cbfn, tofn, baton, timeout);
|
H A D | core_filters.c | 772 apr_interval_time_t timeout; local 779 apr_socket_timeout_get(s, &timeout); 781 rv = apr_poll(&pollset, 1, &nsds, timeout);
|
/httpd/server/mpm/event/ |
H A D | event.c | 234 apr_interval_time_t timeout; member in struct:timeout_queue 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 queu 1532 event_register_socket_callback_ex(apr_socket_t **s, apr_pool_t *p, int for_read, ap_mpm_callback_fn_t *cbfn, ap_mpm_callback_fn_t *tofn, void *baton, apr_time_t timeout) argument [all...] |