Lines Matching refs:socket

43 #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 */
634 "Couldn't bind unix domain socket %s",
643 "Couldn't set permissions on unix domain socket %s",
650 "Couldn't listen on unix domain socket");
657 "Couldn't change owner of unix domain socket %s",
704 "Error accepting on cgid socket");
716 "Error reading request on cgid socket");
1058 "the name of the socket to use for communication with "
1218 if ((sd = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) {
1220 APLOGNO(01255) "unable to create socket to cgi daemon");
1227 * at the wrong socket file */
1251 /* If we didn't find the socket but the server was not recently restarted,
1366 /* we got a socket, and there is already a cleanup registered for it */
1488 /* We are putting the socket discriptor into an apr_file_t so that we can
1490 * a cleanup for the apr_file_t which will close the socket, so we'll
1491 * get rid of the cleanup we registered when we created the socket.
1836 /* We are putting the socket discriptor into an apr_file_t so that we can
1838 * a cleanup for the apr_file_t which will close the socket, so we'll
1839 * get rid of the cleanup we registered when we created the socket.