Searched defs:csd (Results 1 - 17 of 17) sorted by relevance

/httpd/server/
H A Dconnection.c39 (apr_pool_t *p, server_rec *server, apr_socket_t *csd, long conn_id, void *sbh, apr_bucket_alloc_t *alloc),
40 (p, server, csd, conn_id, sbh, alloc), NULL)
42 AP_IMPLEMENT_HOOK_RUN_ALL(int,pre_connection,(conn_rec *c, void *csd),(c, csd),OK,DECLINED)
109 apr_socket_t *csd = ap_get_conn_socket(c); local
111 if (!csd) {
121 apr_socket_close(csd);
134 apr_socket_close(csd);
141 if (apr_socket_shutdown(csd, APR_SHUTDOWN_WRITE) != APR_SUCCESS
143 apr_socket_close(csd);
155 apr_socket_t *csd = ap_get_conn_socket(c); local
202 ap_process_connection(conn_rec *c, void *csd) argument
[all...]
H A Dprotocol.c998 apr_socket_t *csd; local
1094 csd = ap_get_conn_socket(conn);
1095 apr_socket_timeout_get(csd, &cur_timeout);
1097 apr_socket_timeout_set(csd, conn->base_server->timeout);
1178 apr_socket_timeout_set(csd, r->server->timeout);
H A Dcore.c4891 apr_socket_t *csd, long id, void *sbh,
4914 if ((rv = apr_socket_addr_get(&c->local_addr, APR_LOCAL, csd))
4918 apr_socket_close(csd);
4923 if ((rv = apr_socket_addr_get(&c->client_addr, APR_REMOTE, csd))
4927 apr_socket_close(csd);
4960 static int core_pre_connection(conn_rec *c, void *csd) argument
4972 rv = apr_socket_opt_set(csd, APR_TCP_NODELAY, 1);
4987 rv = apr_socket_timeout_set(csd, c->base_server->timeout);
4997 net->client_socket = csd;
4999 ap_set_core_module_config(net->c->conn_config, csd);
4890 core_create_conn(apr_pool_t *ptrans, server_rec *s, apr_socket_t *csd, long id, void *sbh, apr_bucket_alloc_t *alloc) argument
[all...]
/httpd/modules/debugging/
H A Dmod_dumpio.c180 static int dumpio_pre_conn(conn_rec *c, void *csd) argument
H A Dmod_firehose.c409 static int firehose_pre_conn(conn_rec *c, void *csd) argument
/httpd/modules/echo/
H A Dmod_echo.c134 apr_socket_t *csd = NULL; local
169 if (!csd) {
170 csd = ap_get_conn_socket(c);
171 apr_socket_timeout_set(csd, c->base_server->keep_alive_timeout);
/httpd/modules/http/
H A Dhttp_core.c183 apr_socket_t *csd = NULL; local
234 if (!csd) {
235 csd = ap_get_conn_socket(c);
237 apr_socket_opt_set(csd, APR_INCOMPLETE_READ, 1);
238 apr_socket_timeout_set(csd, keep_alive_timeout);
/httpd/modules/ssl/
H A Dmod_ssl.c606 static int ssl_hook_pre_connection(conn_rec *c, void *csd) argument
/httpd/modules/experimental/
H A Dmod_noloris.c71 apr_socket_t *csd = ap_get_conn_socket(conn); local
75 apr_socket_close(csd);
/httpd/modules/loggers/
H A Dmod_logio.c202 static int logio_pre_conn(conn_rec *c, void *csd) argument
/httpd/os/unix/
H A Dunixd.c294 apr_socket_t *csd; local
301 status = apr_socket_accept(&csd, lr->sd, ptrans);
303 *accepted = csd;
305 apr_os_sock_get(&sockdes, csd);
312 apr_socket_close(csd);
/httpd/modules/examples/
H A Dmod_example_hooks.c1113 static int x_pre_connection(conn_rec *c, void *csd) argument
1354 apr_socket_t *csd, long conn_id,
1353 x_create_connection(apr_pool_t *p, server_rec *server, apr_socket_t *csd, long conn_id, void *sbh, apr_bucket_alloc_t *alloc) argument
/httpd/modules/arch/netware/
H A Dmod_nw_ssl.c133 apr_socket_t* csd; member in struct:secsocket_data
329 static int convert_secure_socket(conn_rec *c, apr_socket_t *csd) argument
339 apr_os_sock_get(&sock, csd);
713 static int nwssl_pre_connection(conn_rec *c, void *csd) argument
717 convert_secure_socket(c, (apr_socket_t*)csd);
722 csd_data->csd = (apr_socket_t*)csd;
1156 apr_socket_t *csd = NULL; local
1190 csd = csd_data->csd;
[all...]
/httpd/server/mpm/netware/
H A Dmpm_netware.c349 apr_socket_t *csd = NULL; local
445 if ((stat = apr_socket_accept(&csd, sd, ptrans)) == APR_SUCCESS) {
466 apr_socket_opt_set(csd, APR_SO_NONBLOCK, 0);
526 current_conn = ap_run_create_connection(ptrans, ap_server_conf, csd,
531 ap_process_connection(current_conn, csd);
/httpd/server/mpm/prefork/
H A Dprefork.c615 void *csd; local
706 status = lr->accept_func(&csd, lr, ptrans);
723 current_conn = ap_run_create_connection(ptrans, ap_server_conf, csd, my_child_num, sbh, bucket_alloc);
728 ap_process_connection(current_conn, csd);
/httpd/server/mpm/worker/
H A Dworker.c698 void *csd = NULL; local
847 rv = lr->accept_func(&csd, lr, ptrans);
848 /* later we trash rv and rely on csd to indicate success/failure */
849 AP_DEBUG_ASSERT(rv == APR_SUCCESS || !csd);
864 if (csd != NULL) {
865 rv = ap_queue_push(worker_queue, csd, ptrans);
870 apr_socket_close(csd);
921 apr_socket_t *csd = NULL; local
959 rv = ap_queue_pop(worker_queue, &csd, &ptrans);
990 worker_sockets[thread_slot] = csd;
[all...]
/httpd/server/mpm/event/
H A Devent.c860 apr_socket_t *csd = cs->pfd.desc.s; local
863 rv = apr_socket_timeout_set(csd, 0);
867 apr_socket_timeout_set(csd, 0);
942 apr_socket_t *csd = cs->pfd.desc.s; local
946 || apr_socket_shutdown(csd, APR_SHUTDOWN_WRITE) != APR_SUCCESS) {
947 apr_socket_close(csd);
963 apr_socket_t *csd = ap_get_conn_socket(cs->c); local
966 rv = apr_socket_close(csd);
1631 apr_socket_t *csd = ap_get_conn_socket(cs->c); local
1641 rv = apr_socket_recv(csd, dummybu
1970 void *csd = NULL; local
2162 apr_socket_t *csd = NULL; local
[all...]

Completed in 106 milliseconds