Searched defs:state (Results 1 - 18 of 18) sorted by relevance

/httpd/modules/filters/
H A Dmod_ratelimit.c38 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 Dmod_include.c175 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/support/
H A Dhtdbm.c323 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 Dhtpasswd.c166 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 Dab.c210 /* 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/cluster/
H A Dmod_heartmonitor.c586 static apr_status_t hm_watchdog_callback(int state, void *data, argument
597 switch (state) {
/httpd/modules/proxy/
H A Dmod_proxy_fcgi.c370 * 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 Dmod_proxy_ftp.c433 } 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/modules/aaa/
H A Dmod_authnz_fcgi.c392 * 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/cache/
H A Dcache_util.c1303 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/http/
H A Dhttp_filters.c79 } 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...]
/httpd/modules/loggers/
H A Dmod_log_config.c651 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/metadata/
H A Dmod_mime_magic.c659 /* 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/modules/ssl/
H A Dssl_engine_kernel.c421 /* 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/include/
H A Dhttpd.h714 * 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/dav/main/
H A Dmod_dav.h306 ** Note: the lock-null state is not explicitly represented here,
708 dav_if_unknown /* the "unknown" state type; always matches false. */
729 struct dav_if_state_list *state; member in struct:dav_if_header
1379 /* Take a resource out of the lock-null state. */
1991 ** on both the state of the resource and the value of the
2042 * to restore both parent and child resources to the state they were in
2121 * The value returned depends on both the state of the resource
2137 * If successful, the resource object state is updated appropriately
2144 * object state is updated appropriately.
2176 * object state i
[all...]
/httpd/modules/mappers/
H A Dmod_rewrite.c330 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 Dutil.c2596 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) {

Completed in 79 milliseconds