Searched refs:unix_socket (Results 1 – 5 of 5) sorted by relevance
/curl/tests/ |
H A D | http-server.pl | 47 my $unix_socket; # location to place a listening Unix socket 111 $unix_socket = $ARGV[1]; 183 $flags .= "--unix-socket '$unix_socket' ";
|
/curl/tests/server/ |
H A D | util.c | 840 int bind_unix_socket(curl_socket_t sock, const char *unix_socket, in bind_unix_socket() argument 845 size_t len = strlen(unix_socket); in bind_unix_socket() 853 strcpy(sau->sun_path, unix_socket); in bind_unix_socket() 861 unix_socket, SOCKERRNO, sstrerror(SOCKERRNO)); in bind_unix_socket() 870 unix_socket, error, sstrerror(error)); in bind_unix_socket() 876 rc = curlx_win32_stat(unix_socket, &statbuf); in bind_unix_socket() 878 rc = lstat(unix_socket, &statbuf); in bind_unix_socket() 882 unix_socket, errno, strerror(errno)); in bind_unix_socket() 887 logmsg("Error binding socket, failed to stat %s", unix_socket); in bind_unix_socket() 892 rc = unlink(unix_socket); in bind_unix_socket() [all …]
|
H A D | socksd.c | 827 , const char *unix_socket in sockdaemon() argument 899 rc = bind_unix_socket(sock, unix_socket, &listener.sau); in sockdaemon() 908 unix_socket, error, sstrerror(error)); in sockdaemon() 919 && !unix_socket in sockdaemon() 990 const char *unix_socket = NULL; in main() local 1059 unix_socket = argv[arg]; in main() 1060 if(strlen(unix_socket) >= sizeof(sau.sun_path)) { in main() 1063 sizeof(sau.sun_path), unix_socket); in main() 1124 , unix_socket in main() 1140 logmsg("Listening on Unix socket %s", unix_socket); in main() [all …]
|
H A D | util.h | 94 int bind_unix_socket(curl_socket_t sock, const char *unix_socket,
|
H A D | sws.c | 2055 const char *unix_socket = NULL; in main() local 2135 unix_socket = argv[arg]; in main() 2136 if(strlen(unix_socket) >= sizeof(me.sau.sun_path)) { in main() 2139 sizeof(me.sau.sun_path), unix_socket); in main() 2144 location_str = unix_socket; in main() 2276 rc = bind_unix_socket(sock, unix_socket, &me.sau); in main() 2284 unix_socket, error, sstrerror(error)); in main() 2531 rc = unlink(unix_socket); in main() 2532 logmsg("unlink(%s) = %d (%s)", unix_socket, rc, strerror(rc)); in main()
|
Completed in 17 milliseconds