Lines Matching refs:unixsocket

73 	buffer *unixsocket; /* config.socket + "-" + id */  member
169 buffer *unixsocket; member
528 f->unixsocket = buffer_init(); in fastcgi_process_init()
542 buffer_free(f->unixsocket); in fastcgi_process_free()
555 f->unixsocket = buffer_init(); in fastcgi_host_init()
570 buffer_free(h->unixsocket); in fastcgi_host_free()
727 !buffer_is_empty(proc->unixsocket)) { in FREE_FUNC()
728 unlink(proc->unixsocket->ptr); in FREE_FUNC()
737 !buffer_is_empty(proc->unixsocket)) { in FREE_FUNC()
738 unlink(proc->unixsocket->ptr); in FREE_FUNC()
868 "new proc, socket:", proc->port, proc->unixsocket); in fcgi_spawn_connection()
871 if (!buffer_is_empty(proc->unixsocket)) { in fcgi_spawn_connection()
876 strcpy(fcgi_addr_un.sun_path, proc->unixsocket->ptr); in fcgi_spawn_connection()
882 servlen = proc->unixsocket->used + sizeof(fcgi_addr_un.sun_family); in fcgi_spawn_connection()
888 buffer_append_string_buffer(proc->connection_name, proc->unixsocket); in fcgi_spawn_connection()
955 !buffer_is_empty(proc->unixsocket)) { in fcgi_spawn_connection()
956 unlink(proc->unixsocket->ptr); in fcgi_spawn_connection()
1293 fcv[3].destination = host->unixsocket; in SETDEFAULTS_FUNC()
1314 !buffer_is_empty(host->unixsocket)) { in SETDEFAULTS_FUNC()
1324 if (!buffer_is_empty(host->unixsocket)) { in SETDEFAULTS_FUNC()
1328 if (host->unixsocket->used > sizeof(un.sun_path) - 2) { in SETDEFAULTS_FUNC()
1369 "\n\tsocket", host->unixsocket, in SETDEFAULTS_FUNC()
1380 if (buffer_is_empty(host->unixsocket)) { in SETDEFAULTS_FUNC()
1383 buffer_copy_string_buffer(proc->unixsocket, host->unixsocket); in SETDEFAULTS_FUNC()
1384 buffer_append_string_len(proc->unixsocket, CONST_STR_LEN("-")); in SETDEFAULTS_FUNC()
1385 buffer_append_long(proc->unixsocket, pno); in SETDEFAULTS_FUNC()
1392 "\n\tsocket", host->unixsocket, in SETDEFAULTS_FUNC()
1418 if (buffer_is_empty(host->unixsocket)) { in SETDEFAULTS_FUNC()
1421 buffer_copy_string_buffer(proc->unixsocket, host->unixsocket); in SETDEFAULTS_FUNC()
1547 hctx->host->unixsocket); in fcgi_reconnect()
1660 if (!buffer_is_empty(proc->unixsocket)) { in fcgi_establish_connection()
1664 strcpy(fcgi_addr_un.sun_path, proc->unixsocket->ptr); in fcgi_establish_connection()
1669 servlen = proc->unixsocket->used + sizeof(fcgi_addr_un.sun_family); in fcgi_establish_connection()
1676 buffer_append_string_buffer(proc->connection_name, proc->unixsocket); in fcgi_establish_connection()
2742 host->unixsocket); in fcgi_restart_dead_procs()
2763 host->unixsocket); in fcgi_restart_dead_procs()
2858 if ((!host->port && !host->unixsocket->used)) { in fcgi_write_request()
2931 ret = host->unixsocket->used ? AF_UNIX : AF_INET; in fcgi_write_request()