/httpd/modules/filters/ |
H A D | mod_ratelimit.c | 38 rl_state_e state; member in struct:rl_ctx_t 103 ctx->state = RATE_LIMIT; 113 while (ctx->state != RATE_ERROR && 121 while (ctx->state == RATE_FULLSPEED && !APR_BRIGADE_EMPTY(bb)) { 131 ctx->state = RATE_LIMIT; 138 ctx->state = RATE_ERROR; 147 ctx->state = RATE_ERROR; 153 while (ctx->state == RATE_LIMIT && !APR_BRIGADE_EMPTY(bb)) { 162 ctx->state = RATE_FULLSPEED; 173 ctx->state [all...] |
H A D | mod_include.c | 175 parse_state_t state; member in struct:ssi_internal_ctx 2841 intern->state = PARSE_DIRECTIVE; 2872 intern->state = PARSE_HEAD; 2919 intern->state = PARSE_DIRECTIVE; 2984 intern->state = PARSE_PRE_HEAD; 3000 switch (intern->state) { 3007 intern->state = PARSE_DIRECTIVE_TAIL; 3016 intern->state = PARSE_DIRECTIVE_POSTNAME; 3034 intern->state = PARSE_DIRECTIVE_POSTTAIL; 3047 intern->state [all...] |
/httpd/server/mpm/simple/ |
H A D | simple_io.c | 61 if (scon->cs.state != CONN_STATE_SUSPENDED) { 62 scon->cs.state = CONN_STATE_LINGER; 81 if (scon->cs.state == CONN_STATE_READ_REQUEST_LINE) { 84 /* state will be updated upon return 90 scon->cs.state = CONN_STATE_LINGER; 94 if (scon->cs.state == CONN_STATE_WRITE_COMPLETION) { 106 scon->cs.state = CONN_STATE_LINGER; 138 scon->cs.state = CONN_STATE_LINGER; 141 scon->cs.state = CONN_STATE_READ_REQUEST_LINE; 144 scon->cs.state [all...] |
/httpd/modules/http/ |
H A D | http_core.c | 141 AP_DEBUG_ASSERT(cs->state == CONN_STATE_READ_REQUEST_LINE); 143 while (cs->state == CONN_STATE_READ_REQUEST_LINE) { 153 cs->state = CONN_STATE_HANDLER; 165 if (cs->state != CONN_STATE_WRITE_COMPLETION && 166 cs->state != CONN_STATE_SUSPENDED) { 168 cs->state = CONN_STATE_LINGER; 172 cs->state = CONN_STATE_LINGER; 209 cs->state = CONN_STATE_HANDLER;
|
H A D | http_filters.c | 79 } state; member in struct:http_filter_ctx 102 if (ctx->state == BODY_CHUNK_END) { 104 ctx->state = BODY_CHUNK; 111 if (ctx->state == BODY_CHUNK) { 120 ctx->state = BODY_CHUNK_PART; 133 ctx->state = BODY_CHUNK_EXT; 137 ctx->state = BODY_CHUNK_DATA; 140 ctx->state = BODY_CHUNK_TRAILER; 143 else if (ctx->state != BODY_CHUNK_EXT) { 255 ctx->state [all...] |
H A D | http_request.c | 285 c->cs->state = (c->aborted) ? CONN_STATE_LINGER 351 c->cs->state = CONN_STATE_SUSPENDED; 531 * filter bug to get into this state. */
|
/httpd/modules/cache/ |
H A D | cache_util.c | 1303 cache_table_getm_t *state = (cache_table_getm_t *) v; local 1305 if (!state->first) { 1312 state->first = val; 1316 if (!state->merged) { 1317 state->merged = apr_array_make(state->p, 10, sizeof(const char *)); 1318 elt = apr_array_push(state->merged); 1319 *elt = state->first; 1321 elt = apr_array_push(state->merged); 1330 cache_table_getm_t state; local [all...] |
/httpd/modules/metadata/ |
H A D | mod_mime_magic.c | 659 /* states for the state-machine algorithm in magic_rsl_to_request() */ 678 rsl_states state; local 690 state = rsl_leading_space; 699 /* process whitespace actions for each state */ 700 if (state == rsl_leading_space) { 701 /* eat whitespace in this state */ 704 else if (state == rsl_type) { 708 else if (state == rsl_subtype) { 710 state++; 713 else if (state [all...] |
/httpd/include/ |
H A D | ap_mpm.h | 84 * Pass control to the MPM for steady-state processing. It is responsible 262 * Allow a module to remain aware of MPM child process state changes, 264 * state. 269 * called with the MPM_CHILD_LOST_SLOT state. 277 * @param state One of the mpm_child_status values. Modules should ignore 282 int slot, mpm_child_status state))
|
H A D | httpd.h | 714 * e.g., state of MIME config. Basically, the name of an object, info 719 * Note how the default state of almost all these things is properly 1134 /** The current state of this connection; may be NULL if not used by MPM */ 1219 * @brief A structure to contain connection state information 1222 /** Current state of the connection */ 1223 conn_state_e state; member in struct:conn_state_t
|
/httpd/modules/core/ |
H A D | mod_watchdog.h | 106 * @param state Watchdog state function. See @p AP_WATCHDOG_STATE_ . 111 typedef apr_status_t ap_watchdog_callback_fn_t(int state, void *data,
|
/httpd/support/ |
H A D | htpasswd.c | 166 apr_getopt_t *state; local 172 rv = apr_getopt_init(&state, pool, argc, argv); 176 while ((rv = apr_getopt(state, "cnmspdBbDiC:v", &opt, &opt_arg)) == APR_SUCCESS) { 218 i = state->ind;
|
H A D | htdbm.c | 323 apr_getopt_t *state; local 336 rv = apr_getopt_init(&state, pool, argc, argv); 340 while ((rv = apr_getopt(state, "cnmspdBbtivxlC:T:", &opt, &opt_arg)) == APR_SUCCESS) { 389 i = state->ind;
|
H A D | ab.c | 210 /* connection state 229 int state; member in struct:connection 465 APR_POLLIN, /* for STATE_CONNECTED; we don't poll in this state, 466 * so prepare for polling in the following state -- 472 c->state = new_state; 562 * seed in some current state of the run-time stack (128 bytes) 1426 && c->state == STATE_CONNECTING 1464 } else if (destsa->next && c->state == STATE_CONNECTING 1836 if (c->state == STATE_UNCONNECTED) 1842 if (c->state [all...] |
/httpd/modules/aaa/ |
H A D | mod_authnz_fcgi.c | 392 * This header-state logic is from mod_proxy_fcgi. 404 * end fastcgi server. STATE holds the current header parsing state for this 409 static int handle_headers(request_rec *r, int *state, argument 416 switch (*state) { 418 *state = HDR_STATE_GOT_CRLFCR; 422 *state = HDR_STATE_GOT_CR; 427 switch (*state) { 429 *state = HDR_STATE_DONE_WITH_HEADERS; 433 *state = HDR_STATE_GOT_CRLF; 437 *state [all...] |
/httpd/modules/proxy/ |
H A D | mod_proxy_fcgi.c | 370 * end fastcgi server. STATE holds the current header parsing state for this 375 static int handle_headers(request_rec *r, int *state, argument 382 switch (*state) { 384 *state = HDR_STATE_GOT_CRLFCR; 388 *state = HDR_STATE_GOT_CR; 393 switch (*state) { 395 *state = HDR_STATE_DONE_WITH_HEADERS; 399 *state = HDR_STATE_GOT_CRLF; 403 *state = HDR_STATE_DONE_WITH_HEADERS; 407 *state [all...] |
H A D | mod_proxy_ftp.c | 433 } state; member in struct:__anon294 462 ctx->state = HEADER; 468 if (HEADER == ctx->state) { 595 ctx->state = BODY; 599 while (BODY == ctx->state) { 641 ctx->state = FOOTER; 697 continue; /* while state is BODY */ 756 if (FOOTER == ctx->state) { 1159 /* create space for state information */
|
/httpd/server/mpm/motorz/ |
H A D | motorz.c | 172 scon->cs.state = CONN_STATE_READ_REQUEST_LINE; 327 if (scon->cs.state != CONN_STATE_SUSPENDED) { 328 scon->cs.state = CONN_STATE_LINGER; 353 if (scon->cs.state == CONN_STATE_READ_REQUEST_LINE) { 356 /* state will be updated upon return 362 scon->cs.state = CONN_STATE_LINGER; 366 if (scon->cs.state == CONN_STATE_WRITE_COMPLETION) { 379 scon->cs.state = CONN_STATE_LINGER; 406 scon->cs.state = CONN_STATE_LINGER; 409 scon->cs.state [all...] |
/httpd/server/mpm/event/ |
H A D | event.c | 226 /** public parts of the connection state */ 684 switch (cs->pub.state) { 877 cs->pub.state = CONN_STATE_LINGER_SHORT; 881 cs->pub.state = CONN_STATE_LINGER_NORMAL; 965 "socket reached timeout in lingering-close state"); 1100 * with the state set to CONN_STATE_CHECK_REQUEST_LINE_READABLE 1107 cs->pub.state = CONN_STATE_READ_REQUEST_LINE; 1128 if (cs->pub.state != CONN_STATE_SUSPENDED) { 1129 cs->pub.state = CONN_STATE_LINGER; 1135 if (cs->pub.state [all...] |
/httpd/modules/dav/main/ |
H A D | util.c | 568 /* If the state token cannot be parsed, treat it as an 569 * unknown state; this will evaluate to "false" later 583 new_sl->next = ih->state; 584 ih->state = new_sl; 746 "for the same state."); 800 for (state_list = if_header->state; 866 ** specific locktokens. One of the state lists must match, and 871 ** quickly fail that state list :-). If the locktoken appears in 872 ** one of the state lists *and* one state lis [all...] |
/httpd/modules/loggers/ |
H A D | mod_log_config.c | 651 log_request_state *state = (log_request_state *)ap_get_module_config(r->request_config, local 653 if (!state) { 654 state = apr_pcalloc(r->pool, sizeof(log_request_state)); 655 ap_set_module_config(r->request_config, &log_config_module, state); 657 if (state->request_end_time == 0) { 658 state->request_end_time = apr_time_now(); 660 return state->request_end_time; 1209 * Initialize per request state 1211 log_request_state *state = apr_pcalloc(r->pool, sizeof(log_request_state)); local 1212 ap_set_module_config(r->request_config, &log_config_module, state); [all...] |
/httpd/modules/mappers/ |
H A D | mod_rewrite.c | 330 int state; /* the RewriteEngine state */ member in struct:__anon239 331 int options; /* the RewriteOption state */ 341 int state; /* the RewriteEngine state */ member in struct:__anon240 342 int options; /* the RewriteOption state */ 1227 if (conf->state == ENGINE_DISABLED) { 2788 a->state = ENGINE_DISABLED; 2807 a->state = (overrides->state_set == 0) ? base->state [all...] |
/httpd/server/ |
H A D | util.c | 2596 ap_form_type_t state = FORM_NAME, percent = FORM_NORMAL; local 2655 while (state != FORM_ABORT && slide-- > 0 && size >= 0 && num != 0) { 2661 state = FORM_AMP; 2694 switch (state) { 2701 state = FORM_NAME; 2714 state = FORM_VALUE; 2722 state = FORM_ABORT; 2745 if (FORM_ABORT == state || size < 0 || num == 0) { 2748 else if (FORM_VALUE == state && pair && offset > 0) {
|
/httpd/modules/ssl/ |
H A D | ssl_engine_kernel.c | 421 /* remember old state */ 434 /* configure new state */ 557 /* remember old state */ 559 /* configure new state */ 653 * "accept" state, it will reject the SSL packets which the client 698 * ACCEPT state manually. Using SSL_set_accept_state() doesn't work 700 * state explicitly and continue the handshake manually. 809 /* Toggle the renegotiation state to allow the new 828 /* XXX: Should replace setting state with SSL_renegotiate(ssl); 835 ssl->state 1896 int state = SSL_get_state((SSL *)ssl); local [all...] |
/httpd/modules/cluster/ |
H A D | mod_heartmonitor.c | 586 static apr_status_t hm_watchdog_callback(int state, void *data, argument 597 switch (state) {
|