| /lighttpd1.4/src/ |
| H A D | reqpool.c | 64 r->plugin_ctx = ck_calloc(srv->plugins.used + 1, sizeof(void *)); in request_init_data() 163 if (NULL == r->plugin_ctx[pd->id] 164 && NULL == r->con->plugin_ctx[pd->id]) continue; 167 r->plugin_ctx[pd->id] = NULL; 168 r->con->plugin_ctx[pd->id] = NULL; 182 if (NULL != r->plugin_ctx[i] || NULL != con->plugin_ctx[i]) { in request_reset_ex() 230 free(r->plugin_ctx); in request_free_data()
|
| H A D | mod_setenv.c | 185 handler_ctx *hctx = r->plugin_ctx[p->id]; in URIHANDLER_FUNC() 187 r->plugin_ctx[p->id] = hctx = handler_ctx_init(); in URIHANDLER_FUNC() 220 handler_ctx *hctx = r->plugin_ctx[p->id]; in REQUEST_FUNC() 249 handler_ctx *hctx = r->plugin_ctx[p->id]; in REQUEST_FUNC() 277 void ** const hctx = r->plugin_ctx+((plugin_data_base *)p_d)->id; in REQUEST_FUNC()
|
| H A D | mod_extforward.c | 532 handler_ctx ** const hctx = (handler_ctx **)&con->plugin_ctx[p->id]; in is_connection_trusted_cached() 564 if (!r->plugin_ctx[p->id]) { in mod_extforward_set_addr() 565 handler_rctx * const rctx = r->plugin_ctx[p->id] = handler_rctx_init(); in mod_extforward_set_addr() 1051 handler_ctx *hctx = r->con->plugin_ctx[p->id]; in URIHANDLER_FUNC() 1082 if (r->plugin_ctx[p->id]) return HANDLER_GO_ON; in URIHANDLER_FUNC() 1129 (handler_rctx **)&r->plugin_ctx[((plugin_data *)p_d)->id]; in REQUEST_FUNC() 1149 handler_ctx *hctx = con->plugin_ctx[p->id]; in CONNECTION_FUNC() 1151 con->plugin_ctx[p->id] = NULL; in CONNECTION_FUNC() 1172 con->plugin_ctx[p->id] = hctx; in CONNECTION_FUNC() 1581 con->plugin_ctx[mod_extforward_plugin_data_singleton->id]; in mod_extforward_hap_PROXY_v2() [all …]
|
| H A D | mod_rewrite.c | 275 r->plugin_ctx[((plugin_data *)p_d)->id] = NULL; in URIHANDLER_FUNC() 284 if (r->plugin_ctx[p->id]) { in process_rewrite_rules() 285 uintptr_t * const hctx = (uintptr_t *)(r->plugin_ctx + p->id); in process_rewrite_rules() 309 uintptr_t * const hctx = (uintptr_t *)(r->plugin_ctx + p->id); in process_rewrite_rules()
|
| H A D | mod_vhostdb.c | 242 if ((ve = r->plugin_ctx[p->id])) { in REQUEST_FUNC() 243 r->plugin_ctx[p->id] = NULL; in REQUEST_FUNC() 277 ve = r->plugin_ctx[p->id]; in REQUEST_FUNC() 312 r->plugin_ctx[p->id] = ve; in REQUEST_FUNC()
|
| H A D | mod_gnutls.c | 2373 handler_ctx * const hctx = con->plugin_ctx[plugin_data_singleton->id]; in connection_write_cq_ssl() 2459 handler_ctx * const hctx = con->plugin_ctx[plugin_data_singleton->id]; in connection_write_cq_ssl_ktls() 2545 handler_ctx * const hctx = con->plugin_ctx[plugin_data_singleton->id]; in connection_read_cq_ssl() 2605 con->plugin_ctx[p->id] = hctx; in CONNECTION_FUNC() 2681 handler_ctx *hctx = con->plugin_ctx[p->id]; in CONNECTION_FUNC() 2723 handler_ctx *hctx = con->plugin_ctx[p->id]; in CONNECTION_FUNC() 2725 con->plugin_ctx[p->id] = NULL; in CONNECTION_FUNC() 2942 if (r->plugin_ctx[p->id]) return HANDLER_GO_ON; in REQUEST_FUNC() 2943 handler_ctx *hctx = r->con->plugin_ctx[p->id]; in REQUEST_FUNC() 2945 r->plugin_ctx[p->id] = (void *)(uintptr_t)1u; in REQUEST_FUNC() [all …]
|
| H A D | base.h | 47 void **plugin_ctx; /* plugin connection specific config */ member
|
| H A D | mod_wolfssl.c | 2734 handler_ctx * const hctx = con->plugin_ctx[plugin_data_singleton->id]; in connection_write_cq_ssl() 2837 handler_ctx * const hctx = con->plugin_ctx[plugin_data_singleton->id]; in connection_read_cq_ssl() 3005 con->plugin_ctx[p->id] = hctx; in CONNECTION_FUNC() 3044 handler_ctx *hctx = con->plugin_ctx[p->id]; in CONNECTION_FUNC() 3164 handler_ctx *hctx = con->plugin_ctx[p->id]; in CONNECTION_FUNC() 3166 con->plugin_ctx[p->id] = NULL; in CONNECTION_FUNC() 3333 if (r->plugin_ctx[p->id]) return HANDLER_GO_ON; in REQUEST_FUNC() 3334 handler_ctx *hctx = r->con->plugin_ctx[p->id]; in REQUEST_FUNC() 3336 r->plugin_ctx[p->id] = (void *)(uintptr_t)1u; in REQUEST_FUNC() 3357 handler_ctx *hctx = r->con->plugin_ctx[p->id]; in REQUEST_FUNC() [all …]
|
| H A D | mod_openssl.c | 3033 handler_ctx * const hctx = con->plugin_ctx[plugin_data_singleton->id]; in connection_write_cq_ssl() 3088 handler_ctx * const hctx = con->plugin_ctx[plugin_data_singleton->id]; in connection_write_cq_ssl_ktls() 3125 handler_ctx * const hctx = con->plugin_ctx[plugin_data_singleton->id]; in connection_read_cq_ssl() 3305 con->plugin_ctx[p->id] = hctx; in CONNECTION_FUNC() 3344 handler_ctx *hctx = con->plugin_ctx[p->id]; in CONNECTION_FUNC() 3464 handler_ctx *hctx = con->plugin_ctx[p->id]; in CONNECTION_FUNC() 3466 con->plugin_ctx[p->id] = NULL; in CONNECTION_FUNC() 3618 if (r->plugin_ctx[p->id]) return HANDLER_GO_ON; in REQUEST_FUNC() 3619 handler_ctx *hctx = r->con->plugin_ctx[p->id]; in REQUEST_FUNC() 3621 r->plugin_ctx[p->id] = (void *)(uintptr_t)1u; in REQUEST_FUNC() [all …]
|
| H A D | mod_maxminddb.c | 459 handler_ctx ** const hctx = (handler_ctx **)&r->con->plugin_ctx[p->id]; in REQUEST_FUNC() 505 (handler_ctx **)&con->plugin_ctx[((plugin_data *)p_d)->id]; in CONNECTION_FUNC()
|
| H A D | mod_nss.c | 2177 handler_ctx * const hctx = con->plugin_ctx[plugin_data_singleton->id]; in connection_write_cq_ssl() 2243 handler_ctx * const hctx = con->plugin_ctx[plugin_data_singleton->id]; in connection_read_cq_ssl() 2308 con->plugin_ctx[p->id] = hctx; in CONNECTION_FUNC() 2401 handler_ctx *hctx = con->plugin_ctx[p->id]; in CONNECTION_FUNC() 2439 handler_ctx *hctx = con->plugin_ctx[p->id]; in CONNECTION_FUNC() 2441 con->plugin_ctx[p->id] = NULL; in CONNECTION_FUNC() 2641 if (r->plugin_ctx[p->id]) return HANDLER_GO_ON; in REQUEST_FUNC() 2642 handler_ctx *hctx = r->con->plugin_ctx[p->id]; in REQUEST_FUNC() 2644 r->plugin_ctx[p->id] = (void *)(uintptr_t)1u; in REQUEST_FUNC() 2665 handler_ctx *hctx = r->con->plugin_ctx[p->id]; in REQUEST_FUNC() [all …]
|
| H A D | mod_mbedtls.c | 2026 handler_ctx * const hctx = con->plugin_ctx[plugin_data_singleton->id]; in connection_write_cq_ssl() 2245 handler_ctx * const hctx = con->plugin_ctx[plugin_data_singleton->id]; in connection_read_cq_ssl() 2332 con->plugin_ctx[p->id] = hctx; in CONNECTION_FUNC() 2387 handler_ctx *hctx = con->plugin_ctx[p->id]; in CONNECTION_FUNC() 2430 handler_ctx *hctx = con->plugin_ctx[p->id]; in CONNECTION_FUNC() 2432 con->plugin_ctx[p->id] = NULL; in CONNECTION_FUNC() 2665 if (r->plugin_ctx[p->id]) return HANDLER_GO_ON; in REQUEST_FUNC() 2666 handler_ctx *hctx = r->con->plugin_ctx[p->id]; in REQUEST_FUNC() 2668 r->plugin_ctx[p->id] = (void *)(uintptr_t)1u; in REQUEST_FUNC() 2689 handler_ctx *hctx = r->con->plugin_ctx[p->id]; in REQUEST_FUNC() [all …]
|
| H A D | mod_sockproxy.c | 159 handler_ctx *hctx = r->plugin_ctx[p->id]; in mod_sockproxy_connection_accept()
|
| H A D | request.h | 136 void **plugin_ctx; /* plugin connection specific config */ member
|
| H A D | mod_cgi.c | 440 r->plugin_ctx[p->id] = NULL; in cgi_connection_close() 455 handler_ctx *hctx = r->plugin_ctx[((plugin_data *)p_d)->id]; in cgi_connection_close_callback() 1059 r->plugin_ctx[p->id] = hctx; in URIHANDLER_FUNC() 1073 handler_ctx * const hctx = r->plugin_ctx[p->id]; in SUBREQUEST_FUNC()
|
| H A D | mod_authn_gssapi.c | 234 r->plugin_ctx[p->id] = vb; in mod_authn_gssapi_create_krb5_ccache() 788 buffer * const ccname = (buffer *)r->plugin_ctx[p->id]; in REQUEST_FUNC() 790 r->plugin_ctx[p->id] = NULL; in REQUEST_FUNC()
|
| H A D | mod_ssi.c | 1631 r->plugin_ctx[p->id] = handler_ctx_init(p, r->conf.errh); in URIHANDLER_FUNC() 1640 handler_ctx *hctx = r->plugin_ctx[p->id]; in SUBREQUEST_FUNC() 1661 handler_ctx *hctx = r->plugin_ctx[p->id]; in mod_ssi_handle_request_reset() 1664 r->plugin_ctx[p->id] = NULL; in mod_ssi_handle_request_reset()
|
| H A D | mod_scgi.c | 264 handler_ctx *hctx = r->plugin_ctx[p->id]; in scgi_check_extension()
|
| H A D | mod_dirlisting.c | 1404 r->plugin_ctx[p->id] = hctx; in URIHANDLER_FUNC() 1412 handler_ctx * const hctx = r->plugin_ctx[p->id]; in SUBREQUEST_FUNC() 1445 void ** const restrict dptr = &r->plugin_ctx[((plugin_data *)p_d)->id]; in REQUEST_FUNC()
|
| H A D | mod_deflate.c | 2154 r->plugin_ctx[p->id] = hctx; in REQUEST_FUNC() 2171 r->plugin_ctx[p->id] = NULL; in REQUEST_FUNC() 2178 handler_ctx *hctx = r->plugin_ctx[p->id]; in mod_deflate_cleanup() 2181 r->plugin_ctx[p->id] = NULL; in mod_deflate_cleanup()
|
| H A D | gw_backend.c | 1827 r->plugin_ctx[p->id] = NULL; in gw_connection_close() 1851 gw_handler_ctx *hctx = r->plugin_ctx[p->id]; in gw_handle_request_reset() 2148 gw_handler_ctx *hctx = r->plugin_ctx[p->id]; in gw_handle_subrequest() 2482 hctx = r->plugin_ctx[p->id]; in gw_check_extension() 2669 r->plugin_ctx[p->id] = hctx; in gw_check_extension()
|
| H A D | mod_wstunnel.c | 482 handler_ctx *hctx = r->plugin_ctx[p->id]; in wstunnel_handler_setup() 606 handler_ctx *hctx = r->plugin_ctx[p->id]; in TRIGGER_FUNC()
|
| H A D | mod_fastcgi.c | 488 handler_ctx *hctx = r->plugin_ctx[p->id]; in fcgi_check_extension()
|
| H A D | connections.c | 513 con->plugin_ctx = ck_calloc(srv->plugins.used + 1, sizeof(void *)); in connection_init() 529 free(con->plugin_ctx); in connection_free()
|
| H A D | mod_webdav.c | 5982 (plugin_config *)r->plugin_ctx[((plugin_data *)p_d)->id]; in SUBREQUEST_FUNC() 6089 r->plugin_ctx[((plugin_data *)p_d)->id] = &pconf; in PHYSICALPATH_FUNC() 6093 r->plugin_ctx[((plugin_data *)p_d)->id] = NULL; in PHYSICALPATH_FUNC() 6095 r->plugin_ctx[((plugin_data *)p_d)->id] = /* save pconf */ in PHYSICALPATH_FUNC() 6104 &r->plugin_ctx[((plugin_data *)p_d)->id]; in REQUEST_FUNC()
|