Home
last modified time | relevance | path

Searched refs:unix_socket (Results 1 – 5 of 5) sorted by relevance

/curl/tests/
H A Dhttp-server.pl47 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 Dutil.c836 int bind_unix_socket(curl_socket_t sock, const char *unix_socket, in bind_unix_socket() argument
841 size_t len = strlen(unix_socket); in bind_unix_socket()
849 strcpy(sau->sun_path, unix_socket); in bind_unix_socket()
857 unix_socket, SOCKERRNO, sstrerror(SOCKERRNO)); in bind_unix_socket()
866 unix_socket, error, sstrerror(error)); in bind_unix_socket()
872 rc = curlx_win32_stat(unix_socket, &statbuf); in bind_unix_socket()
874 rc = lstat(unix_socket, &statbuf); in bind_unix_socket()
878 unix_socket, errno, strerror(errno)); in bind_unix_socket()
883 logmsg("Error binding socket, failed to stat %s", unix_socket); in bind_unix_socket()
888 rc = unlink(unix_socket); in bind_unix_socket()
[all …]
H A Dsocksd.c804 , const char *unix_socket in sockdaemon() argument
876 rc = bind_unix_socket(sock, unix_socket, &listener.sau); in sockdaemon()
885 unix_socket, error, sstrerror(error)); in sockdaemon()
896 && !unix_socket in sockdaemon()
967 const char *unix_socket = NULL; in main() local
1036 unix_socket = argv[arg]; in main()
1037 if(strlen(unix_socket) >= sizeof(sau.sun_path)) { in main()
1040 sizeof(sau.sun_path), unix_socket); in main()
1101 , unix_socket in main()
1117 logmsg("Listening on Unix socket %s", unix_socket); in main()
[all …]
H A Dutil.h94 int bind_unix_socket(curl_socket_t sock, const char *unix_socket,
H A Dsws.c2003 const char *unix_socket = NULL; in main() local
2083 unix_socket = argv[arg]; in main()
2084 if(strlen(unix_socket) >= sizeof(me.sau.sun_path)) { in main()
2087 sizeof(me.sau.sun_path), unix_socket); in main()
2092 location_str = unix_socket; in main()
2224 rc = bind_unix_socket(sock, unix_socket, &me.sau); in main()
2232 unix_socket, error, sstrerror(error)); in main()
2471 rc = unlink(unix_socket); in main()
2472 logmsg("unlink(%s) = %d (%s)", unix_socket, rc, strerror(rc)); in main()

Completed in 22 milliseconds