Searched refs:socket (Results 1 - 21 of 21) sorted by relevance

/httpd/support/
H A Dlog_server_status.in51 my $socket = new IO::Socket::INET(
64 print $socket
68 while (<$socket>) {
H A Dlogresolve.pl.in78 $filename = "./.socket.$parent.$child";
94 if (-e "./.socket.$parent.$child") {
95 unlink("./.socket.$parent.$child")
96 || warn ".socket.$parent.$child $!";
108 ## fork child processes. Each child will create a socket connection
113 if (!socket($CHILDSOCK{$child}, AF_UNIX, SOCK_STREAM, $PROTOCOL)) {
114 warn "parent socket to child failed $!";
116 $filename = "./.socket.$parent.$child";
176 # create a socket to communicate with parent
177 socket(INBOUN
[all...]
/httpd/test/
H A Dtest-writev.c37 #include <sys/socket.h>
71 s = socket( AF_INET, SOCK_STREAM, 0 );
73 perror("socket");
H A Dtest_limits.c57 #include <sys/socket.h>
132 if ((sd = socket(sin.sin_family, SOCK_STREAM, IPPROTO_TCP)) == -1) {
133 perror("socket");
/httpd/modules/lua/test/
H A Dhelpers.lua4 local http = require("socket.http")
/httpd/server/mpm/winnt/
H A Dmpm_winnt.h98 apr_socket_t *socket);
H A Dchild.c347 "winnt_accept: getsockname error on listening socket, "
386 /* The event needs to be removed from the accepted socket,
387 * if not removed from the listen socket prior to accept(),
429 /* Create and initialize the accept socket */
432 context->accept_socket = socket(ss_listen.ss_family, SOCK_STREAM,
438 context->accept_socket = socket(ss_listen.ss_family, SOCK_STREAM,
444 context->accept_socket = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
450 "winnt_accept: Failed to allocate an accept socket. "
488 * 1) TransmitFile does not properly recycle the accept socket (typically
573 /* Inherit the listen socket setting
788 winnt_insert_network_bucket(conn_rec *c, apr_bucket_brigade *bb, apr_socket_t *socket) argument
[all...]
/httpd/server/mpm/worker/
H A Dfdqueue.h36 #include <sys/socket.h>
H A Dworker.c43 #include <sys/socket.h>
253 * socket doesn't awake the worker thread when it is polling on the socket
263 /* An array of socket descriptors in use by each thread used to
816 * ensure that a socket will eventually be serviced.
868 * socket to a worker
/httpd/modules/filters/
H A Dmod_reqtimeout.c61 apr_socket_t *socket; member in struct:__anon173
211 if (!ccfg->socket) {
212 ccfg->socket = ap_get_conn_socket(f->c);
228 rv = apr_socket_timeout_get(ccfg->socket, &saved_sock_timeout);
231 rv = apr_socket_timeout_set(ccfg->socket, MIN(time_left, saved_sock_timeout));
288 pollset.desc.s = ccfg->socket;
289 apr_socket_timeout_get(ccfg->socket, &poll_timeout);
292 rv = apr_socket_wait(ccfg->socket, APR_WAIT_READ);
301 rv = apr_socket_timeout_set(ccfg->socket,
324 apr_socket_timeout_set(ccfg->socket, saved_sock_timeou
[all...]
/httpd/server/mpm/event/
H A Dfdqueue.h36 #include <sys/socket.h>
H A Devent.c21 * connection open to send more requests with the same socket. This can save
31 * listener thread when a keep-alive socket needs to be sent to it.
69 #include <sys/socket.h>
437 /* An array of socket descriptors in use by each thread used to
965 "socket reached timeout in lingering-close state");
968 ap_log_error(APLOG_MARK, APLOG_ERR, rv, ap_server_conf, APLOGNO(00468) "error closing socket");
1096 * accept() with a socket readability check, like Win32,
1098 * socket is readable due to the first data packet arriving,
1201 * timeout today. With a normal client, the socket will be readable in
1401 * socket t
[all...]
/httpd/server/mpm/simple/
H A Dsimple_io.c260 apr_socket_t *socket; local
268 rv = apr_socket_accept(&socket, lr->sd, ptrans);
273 * fatal error on our listening socket, but we don't notice.
284 scon->sock = socket;
/httpd/modules/cache/
H A Dcache_util.h65 #include <sys/socket.h>
/httpd/modules/proxy/
H A Dmod_proxy_fdpass.c20 #include <sys/socket.h>
180 /* Create a dummy unconnected socket, and set it as the one we were
188 "failed to create dummy socket");
H A Dmod_proxy.h245 apr_pool_t *scpool; /* Subpool used for socket and connection data */
246 apr_socket_t *sock; /* Connection socket */
256 const char *uds_path; /* Unix domain socket path */
354 char uds_path[PROXY_WORKER_MAX_NAME_SIZE]; /* path to worker's unix domain socket if applicable */
897 * @note In case the socket already exists for conn, just check the link
1056 * @param socket socket to test
1057 * @return TRUE if socket is connected/active
1059 PROXY_DECLARE(int) ap_proxy_is_socket_connected(apr_socket_t *socket); variable
1082 * Strip a unix domain socket (UD
[all...]
H A Dproxy_util.c1466 * socket and the connection member of the proxy_conn_rec struct as we
1667 * This results in talking http to the socket at /path/foo/bar.sock
2105 "%s: error creating fam %d socket for target %s",
2109 * local machine won't give us an IPv6 socket; hopefully the
2131 /* Set a timeout on the socket */
2140 "%s: fam %d socket created to connect to %s",
2147 "%s: failed to bind socket to local address",
2152 /* make the connection out of the socket */
2406 /* Close a possible existing socket if we are told to do so */
2485 PROXY_DECLARE(int) ap_proxy_is_socket_connected(apr_socket_t *socket) argument
2523 ap_proxy_is_socket_connected(apr_socket_t *socket) argument
[all...]
/httpd/include/
H A Dhttp_core.h340 /** Get the socket from the core network filter. This should be used instead of
343 * @return The socket
752 * socket setup.
755 * @param socket The socket to put into a bucket
760 (conn_rec *c, apr_bucket_brigade *bb, apr_socket_t *socket))
/httpd/server/mpm/motorz/
H A Dmotorz.c194 apr_socket_t *socket; local
201 rv = lr->accept_func((void *)&socket, lr, ptrans);
210 scon->sock = socket;
340 * automagically remove the FD if the socket is closed,
/httpd/modules/generators/
H A Dmod_cgid.c43 #include <sys/socket.h>
149 /* DEFAULT_CGID_LISTENBACKLOG controls the max depth on the unix socket's
153 * each connection on the unix socket. If the queue is too short, the
208 * wrong cgid socket use
325 /* Remove the cgi socket, we must do it here in order to try and
326 * guarantee the same permissions as when the socket was created.
330 "Couldn't unlink unix domain socket %s",
623 if ((sd = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) {
625 "Couldn't create unix domain socket");
629 omask = umask(0077); /* so that only Apache can use socket */
[all...]
/httpd/server/
H A Dcore.c95 apr_socket_t *socket),
96 (c, bb, socket), AP_DECLINED)
4982 * incidentally sets the socket to be nonblocking. If this
5159 apr_socket_t *socket)
5161 apr_bucket *e = apr_bucket_socket_create(socket, c->bucket_alloc);
5157 core_insert_network_bucket(conn_rec *c, apr_bucket_brigade *bb, apr_socket_t *socket) argument

Completed in 78 milliseconds