Searched defs:sc (Results 1 - 23 of 23) sorted by relevance

/httpd/server/mpm/simple/
H A Dsimple_core.c40 simple_core_t *sc; local
47 sc = g_simple_core = ap_retained_data_create(userdata_key, sizeof(*g_simple_core));
49 apr_pool_create(&sc->pool, ap_pglobal);
51 apr_pool_tag(sc->pool, "simple-mpm-core");
53 sc->mpm_state = AP_MPMQ_STARTING;
54 sc->procmgr.proc_count = SIMPLE_DEF_PROC;
55 sc->procmgr.thread_count = SIMPLE_DEF_THREADS;
56 sc->procmgr.max_requests_per_child = 0; /* unlimited */
58 sc->children = apr_hash_make(sc
[all...]
H A Dsimple_event.c26 simple_core_t *sc = elem->sc; local
28 apr_thread_mutex_lock(sc->mtx);
30 apr_thread_mutex_unlock(sc->mtx);
37 simple_register_timer(simple_core_t * sc, argument
47 apr_thread_mutex_lock(sc->mtx);
49 APR_RING_CHECK_CONSISTENCY(&sc->timer_ring, simple_timer_t, link);
58 elem->sc = sc;
61 APR_RING_CHECK_CONSISTENCY(&sc
[all...]
H A Dsimple_children.c32 static void simple_kill_random_child(simple_core_t * sc) argument
35 if (!sc->run_single_process) {
39 apr_thread_mutex_lock(sc->mtx);
40 hi = apr_hash_first(sc->pool, sc->children);
43 apr_hash_set(sc->children, &child->pid, sizeof(child->pid), NULL);
45 apr_thread_mutex_unlock(sc->mtx);
61 static int simple_spawn_child(simple_core_t * sc) argument
70 if (!sc->run_single_process) {
71 if (sc
115 simple_check_children_size(simple_core_t * sc, void *baton) argument
[all...]
H A Dsimple_io.c32 static void simple_io_timeout_cb(simple_core_t * sc, void *baton) argument
50 simple_core_t *sc; local
66 sc = scon->sc;
72 rv = apr_pollcb_remove(sc->pollcb, &scon->pfd);
114 simple_register_timer(scon->sc,
127 rv = apr_pollcb_add(sc->pollcb, &scon->pfd);
155 simple_register_timer(scon->sc,
168 rv = apr_pollcb_add(sc->pollcb, &scon->pfd);
256 apr_status_t simple_io_accept(simple_core_t * sc, simple_sb_ argument
296 simple_io_event_process(simple_core_t * sc, simple_sb_t * sb) argument
[all...]
H A Dsimple_api.c32 simple_core_t *sc = simple_core_get(); local
34 sc->mpm_state = AP_MPMQ_RUNNING;
37 sc->mpm_state = AP_MPMQ_STOPPING;
41 return simple_main_loop(sc);
46 simple_core_t *sc = simple_core_get(); local
60 *result = sc->procmgr.proc_count;
63 *result = sc->procmgr.proc_count;
66 *result = sc->procmgr.thread_count;
69 *result = sc->procmgr.thread_count;
72 *result = sc
129 simple_core_t *sc; local
178 simple_core_t *sc = simple_core_get(); local
244 simple_core_t *sc = simple_core_get(); local
[all...]
H A Dsimple_run.c43 static apr_status_t simple_main_setup_timers(simple_core_t * sc) argument
45 simple_register_timer(sc, simple_check_children_size, NULL, 0, sc->pool);
53 static apr_status_t simple_setup_workers(simple_core_t * sc) argument
57 rv = apr_thread_pool_create(&sc->workers,
58 sc->procmgr.thread_count,
59 sc->procmgr.thread_count, sc->pool);
64 sc->procmgr.thread_count);
71 static apr_status_t simple_setup_listeners(simple_core_t * sc) argument
115 simple_core_t *sc = (simple_core_t *) baton; local
145 simple_run_loop(simple_core_t * sc) argument
233 simple_single_process_hack(simple_core_t * sc) argument
244 simple_setup_privs(simple_core_t * sc) argument
257 simple_setup_pollcb(simple_core_t * sc) argument
279 simple_child_loop(simple_core_t * sc) argument
318 simple_main_loop(simple_core_t * sc) argument
[all...]
H A Dsimple_types.h45 typedef void (*simple_timer_cb) (simple_core_t * sc, void *baton);
46 typedef void (*simple_io_sock_cb) (simple_core_t * sc, apr_socket_t * sock,
48 typedef void (*simple_io_file_cb) (simple_core_t * sc, apr_socket_t * sock,
81 simple_core_t *sc; member in struct:simple_timer_t
121 simple_core_t *sc; member in struct:simple_conn_t
/httpd/modules/ssl/
H A Dmod_ssl.c409 SSLSrvConfigRec *sc; local
412 sc = mySrvConfig(sslconn->server);
414 if (!sc->proxy_enabled) {
417 "[Hint: SSLProxyEngine]", sc->vhost_id);
430 SSLSrvConfigRec *sc; local
435 sc = mySrvConfig(sslconn->server);
438 sc = mySrvConfig(c->base_server);
440 if (sc->enabled == SSL_ENABLED_FALSE) {
515 SSLSrvConfigRec *sc; local
527 sc
586 SSLSrvConfigRec *sc = mySrvConfig(r->server); local
597 SSLSrvConfigRec *sc = mySrvConfig(r->server); local
608 SSLSrvConfigRec *sc; local
[all...]
H A Dssl_engine_ocsp.c54 static apr_uri_t *determine_responder_uri(SSLSrvConfigRec *sc, X509 *cert, argument
64 if (sc->server->ocsp_force_default == TRUE) {
65 s = sc->server->ocsp_responder;
70 if (s == NULL && sc->server->ocsp_responder) {
71 s = sc->server->ocsp_responder;
108 SSLSrvConfigRec *sc)
120 if (sc->server->ocsp_use_request_nonce != FALSE) {
130 SSLSrvConfigRec *sc, server_rec *s,
140 ruri = determine_responder_uri(sc, cert, c, pool);
145 request = create_request(ctx, cert, &certID, s, pool, sc);
105 create_request(X509_STORE_CTX *ctx, X509 *cert, OCSP_CERTID **certid, server_rec *s, apr_pool_t *p, SSLSrvConfigRec *sc) argument
129 verify_ocsp_status(X509 *cert, X509_STORE_CTX *ctx, conn_rec *c, SSLSrvConfigRec *sc, server_rec *s, apr_pool_t *pool) argument
251 modssl_verify_ocsp(X509_STORE_CTX *ctx, SSLSrvConfigRec *sc, server_rec *s, conn_rec *c, apr_pool_t *pool) argument
[all...]
H A Dssl_engine_pphrase.c136 SSLSrvConfigRec *sc = mySrvConfig(s); local
137 const char *key_id = asn1_table_vhost_key(mc, p, sc->vhost_id, idx);
248 if ((sc->server->pphrase_dialog_type == SSL_PPTYPE_BUILTIN
249 || sc->server->pphrase_dialog_type == SSL_PPTYPE_PIPE)
251 if (sc->server->pphrase_dialog_type == SSL_PPTYPE_PIPE
266 if (sc->server->pphrase_dialog_type == SSL_PPTYPE_BUILTIN) {
459 SSLSrvConfigRec *sc = mySrvConfig(ppcb_arg->s);
479 if (sc->server->pphrase_dialog_type == SSL_PPTYPE_BUILTIN
480 || sc->server->pphrase_dialog_type == SSL_PPTYPE_PIPE) {
484 if (sc
[all...]
H A Dssl_util.c45 SSLSrvConfigRec *sc; local
53 sc = mySrvConfig(s);
54 if (sc->enabled == TRUE)
H A Dssl_util_stapling.c128 "configured for server %s", mctx->sc->vhost_id);
174 mctx->sc->vhost_id);
515 SSLSrvConfigRec *sc = mySrvConfig(s); local
518 if (mc->stapling_mutex || sc->server->stapling_enabled != TRUE) {
594 SSLSrvConfigRec *sc = mySrvConfig(s); local
596 modssl_ctx_t *mctx = myCtxConfig(sslconn, sc);
602 if (sc->server->stapling_enabled != TRUE) {
H A Dssl_engine_init.c146 SSLSrvConfigRec *sc; local
183 sc = mySrvConfig(s);
185 if (sc->server) {
186 sc->server->sc = sc;
189 if (sc->proxy) {
190 sc->proxy->sc = sc;
483 SSLSrvConfigRec *sc = mySrvConfig(s); local
1373 ssl_init_proxy_ctx(server_rec *s, apr_pool_t *p, apr_pool_t *ptemp, SSLSrvConfigRec *sc) argument
1391 ssl_init_server_ctx(server_rec *s, apr_pool_t *p, apr_pool_t *ptemp, SSLSrvConfigRec *sc, apr_array_header_t *pphrases) argument
1500 ssl_init_ConfigureServer(server_rec *s, apr_pool_t *p, apr_pool_t *ptemp, SSLSrvConfigRec *sc, apr_array_header_t *pphrases) argument
1531 SSLSrvConfigRec *sc; local
1786 SSLSrvConfigRec *sc; local
[all...]
H A Dssl_engine_config.c102 mctx->sc = NULL; /* set during module init */
168 static void modssl_ctx_init_proxy(SSLSrvConfigRec *sc, argument
173 mctx = sc->proxy = apr_palloc(p, sizeof(*sc->proxy));
186 static void modssl_ctx_init_server(SSLSrvConfigRec *sc, argument
191 mctx = sc->server = apr_palloc(p, sizeof(*sc->server));
207 SSLSrvConfigRec *sc = apr_palloc(p, sizeof(*sc)); local
209 sc
243 SSLSrvConfigRec *sc = ssl_config_server_new(p); local
454 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
623 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
644 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
668 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
714 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
742 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
752 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
764 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
799 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
816 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
833 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
856 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
877 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
899 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
919 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
934 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
950 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
966 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1004 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1039 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1075 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1173 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1369 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1377 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1388 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1398 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1412 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1429 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1446 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1462 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1478 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1494 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1510 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1519 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1535 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1551 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1573 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1589 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1598 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1607 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1617 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1627 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1637 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1646 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1655 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1664 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1674 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1745 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1753 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1764 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1775 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1786 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1797 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1805 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1813 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1825 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1836 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1868 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1879 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1892 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); local
1915 SSLSrvConfigRec *sc = mySrvConfig(s); local
1942 SSLSrvConfigRec *sc = mySrvConfig(s); local
[all...]
H A Dssl_engine_io.c1109 SSLSrvConfigRec *sc; local
1130 sc = mySrvConfig(server);
1141 sc->proxy->protocol != SSL_PROTOCOL_SSLV3 &&
1169 if (sc->proxy_ssl_check_peer_expire != SSL_ENABLED_FALSE) {
1180 if ((sc->proxy_ssl_check_peer_name != SSL_ENABLED_FALSE) &&
1192 else if ((sc->proxy_ssl_check_peer_cn != SSL_ENABLED_FALSE) &&
1299 sc = mySrvConfig(sslconn->server);
1310 (sc->server->auth.verify_mode == SSL_CVERIFY_OPTIONAL_NO_CA))
1362 if ((sc->server->auth.verify_mode == SSL_CVERIFY_REQUIRE) &&
H A Dssl_engine_kernel.c121 SSLSrvConfigRec *sc = mySrvConfig(r->server); local
132 if (sc->enabled == SSL_ENABLED_OPTIONAL && !myConnConfig(r->connection)
210 else if (((sc->strict_sni_vhost_check == SSL_ENABLED_TRUE)
301 SSLSrvConfigRec *sc = mySrvConfig(r->server); local
336 if (sc->enabled == SSL_ENABLED_OPTIONAL) {
359 * sc->enabled is probably strictly unnecessary)
361 if (sc->enabled == SSL_ENABLED_FALSE || !ssl) {
435 if ((dc->szCipherSuite || sc->server->auth.cipher_suite) &&
438 sc->server->auth.cipher_suite)) {
506 if (sc
990 SSLSrvConfigRec *sc = mySrvConfig(r->server); local
1160 SSLSrvConfigRec *sc = mySrvConfig(r->server); local
1391 SSLSrvConfigRec *sc = mySrvConfig(s); local
1563 SSLSrvConfigRec *sc = mySrvConfig(s); local
1688 SSLSrvConfigRec *sc = mySrvConfig(s); local
1773 SSLSrvConfigRec *sc; local
1976 SSLSrvConfigRec *sc; local
2110 SSLSrvConfigRec *sc = mySrvConfig(s); local
2223 SSLSrvConfigRec *sc = mySrvConfig(s); local
[all...]
H A Dssl_private.h251 #define myCtxConfig(sslconn, sc) (sslconn->is_proxy ? sc->proxy : sc->server)
584 SSLSrvConfigRec *sc; /** pointer back to server config */ member in struct:__anon343
968 int modssl_verify_ocsp(X509_STORE_CTX *ctx, SSLSrvConfigRec *sc,
/httpd/modules/proxy/
H A Dajp_header.c36 static const char *long_res_header_for_sc(int sc) argument
39 sc = sc & 0X00FF;
40 if(sc <= SC_RES_HEADERS_NUM && sc > 0) {
41 rc = response_trans_headers[sc - 1];
264 int sc; local
268 if ((sc = sc_for_req_header(elts[i].key)) != UNKNOWN_METHOD) {
269 if (ajp_msg_append_uint16(msg, (apr_uint16_t)sc)) {
608 "No such sc (
[all...]
/httpd/modules/filters/
H A Dmod_ext_filter.c541 ef_server_t *sc; local
544 sc = ap_get_module_config(s->module_config, &ext_filter_module);
545 f = apr_hash_get(sc->h, fname, APR_HASH_KEY_STRING);
548 sc = ap_get_module_config(s->module_config, &ext_filter_module);
549 f = apr_hash_get(sc->h, fname, APR_HASH_KEY_STRING);
/httpd/modules/arch/netware/
H A Dmod_nw_ssl.c471 NWSSLSrvConfigRec* sc = get_nwssl_cfg(cmd->server); local
543 apr_table_add(sc->sltable, ports, addr);
566 NWSSLSrvConfigRec* sc = get_nwssl_cfg(cmd->server); local
601 apr_table_set(sc->slutable, ports, addr);
881 NWSSLSrvConfigRec *sc = get_nwssl_cfg(s); local
883 return isSecureConnEx (s, c, sc->sltable);
888 NWSSLSrvConfigRec *sc = get_nwssl_cfg(s); local
890 return isSecureConnEx (s, c, sc->slutable);
1237 NWSSLSrvConfigRec *sc = get_nwssl_cfg(r->server); local
/httpd/server/mpm/motorz/
H A Dmotorz.c118 static void motorz_io_timeout_cb(motorz_core_t * sc, void *baton) argument
/httpd/server/
H A Dcore.c5014 conn_rec *sc = (conn_rec *) apr_palloc(c->pool, sizeof(conn_rec)); local
5018 memcpy(sc, c, sizeof(conn_rec));
5019 sc->slaves = NULL;
5020 sc->master = c;
5021 sc->input_filters = NULL;
5022 sc->output_filters = NULL;
5023 sc->pool = pool;
5025 new->c = sc;
5026 return sc;
/httpd/server/mpm/event/
H A Devent.c214 event_srv_cfg *sc; member in struct:event_conn_state_t
1010 cs->sc = ap_get_module_config(ap_server_conf->module_config,
1031 cs->sc = ap_get_module_config(r->server->module_config,
1035 cs->sc = ap_get_module_config(c->base_server->module_config,
1074 cs->sc = ap_get_module_config(ap_server_conf->module_config,
1170 TO_QUEUE_APPEND(cs->sc->wc_q, cs);
1207 TO_QUEUE_APPEND(cs->sc->ka_q, cs);
1243 TO_QUEUE_APPEND(cs->sc->wc_q, cs);
1876 struct timeout_queue *remove_from_q = cs->sc->wc_q;
1882 remove_from_q = cs->sc
3462 event_srv_cfg *sc = apr_pcalloc(pconf, sizeof *sc); local
[all...]

Completed in 108 milliseconds