/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_wstunnel.c | 45 static int proxy_wstunnel_pump(ws_baton_t *baton, apr_time_t timeout, int try_async) { argument 61 rv = apr_pollset_poll(pollset, timeout, &pollcnt, &signalled); 159 /* If neither socket becomes readable in the specified timeout, 560 new->idle_timeout = -1; /* no timeout */ 569 return "ProxyWebsocketIdleTimeout timeout has wrong format"; 576 return "ProxyWebsocketAsyncDelay timeout has wrong format"; 587 "timeout for activity in either direction, unlimited by default"),
|
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_fcgi.c | 462 apr_interval_time_t timeout; local 466 /* We need SOME kind of timeout here, or virtually anything will 467 * cause timeout errors. */ 468 apr_socket_timeout_get(conn->sock, &timeout); 470 rv = apr_poll(&pfd, 1, &n, 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/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);
|
/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/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/cache/ |
H A D | mod_cache_disk.h | 55 apr_time_t timeout; /* Max time to set aside */ member in struct:disk_cache_object
|
H A D | mod_cache_socache.c | 86 apr_time_t timeout; /* Max time to set aside */ member in struct:cache_socache_object_t 952 if (!sobj->timeout && dconf->readtime) { 953 sobj->timeout = apr_time_now() + dconf->readtime; 1057 if ((dconf->readtime && apr_time_now() > sobj->timeout)) { 1058 sobj->timeout = 0;
|
/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/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;
|
H A D | mod_authnz_fcgi.c | 84 apr_interval_time_t timeout) 106 timeout ? timeout : r->server->timeout); 80 connect_to_peer(apr_socket_t **newsock, request_rec *r, apr_sockaddr_t *backend_addrs, const char *backend_name, apr_interval_time_t timeout) argument
|
/httpd/server/ |
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/modules/cluster/ |
H A D | mod_heartmonitor.c | 624 apr_interval_time_t timeout; local 633 timeout = apr_time_from_sec(1); 635 rc = apr_poll(&pfd, 1, &n, timeout);
|
/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/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...] |
H A D | mpm_winnt.c | 870 int timeout = 30000; /* Timeout is milliseconds */ local 891 rv = WaitForSingleObject(event_handles[CHILD_HANDLE], timeout);
|
/httpd/modules/arch/win32/ |
H A D | mod_isapi.c | 214 apr_uint32_t timeout; member in struct:isapi_loaded 269 isa->timeout = 300 * 1000000; /* microsecs, not used */
|
/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/dav/main/ |
H A D | util.c | 498 const char *timeout = apr_pstrdup(r->pool, timeout_const), *val; local 500 if (timeout == NULL) 507 while ((val = ap_getword_white(r->pool, &timeout)) && strlen(val)) { 515 * ### timeout will be <= 2^32 - 1
|
/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...] |
H A D | mod_cgid.c | 101 apr_interval_time_t timeout; member in struct:__anon183 1043 if (ap_timeout_parameter_parse(arg, &dc->timeout, "s") != APR_SUCCESS) { 1495 if (dc->timeout > 0) { 1496 apr_file_pipe_timeout_set(tempsock, dc->timeout); 1499 apr_file_pipe_timeout_set(tempsock, r->server->timeout); 1842 if (dc->timeout > 0) { 1843 apr_file_pipe_timeout_set(tempsock, dc->timeout); 1846 apr_file_pipe_timeout_set(tempsock, r->server->timeout);
|
/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...] |