diff options
Diffstat (limited to 'usr.sbin/httpd/config.c')
-rw-r--r-- | usr.sbin/httpd/config.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/usr.sbin/httpd/config.c b/usr.sbin/httpd/config.c index 4136a2b6270..0db7b3d43fe 100644 --- a/usr.sbin/httpd/config.c +++ b/usr.sbin/httpd/config.c @@ -1,4 +1,4 @@ -/* $OpenBSD: config.c,v 1.59 2020/08/24 15:49:10 tracey Exp $ */ +/* $OpenBSD: config.c,v 1.60 2020/08/26 06:50:20 florian Exp $ */ /* * Copyright (c) 2011 - 2015 Reyk Floeter <reyk@openbsd.org> @@ -496,20 +496,6 @@ config_getserver_config(struct httpd *env, struct server *srv, if ((srv_conf->flags & f) == 0) srv_conf->flags |= parent->flags & f; - f = SRVFLAG_SOCKET|SRVFLAG_FCGI; - if ((srv_conf->flags & f) == SRVFLAG_FCGI) { - struct sockaddr_un *sun; - sun = (struct sockaddr_un *) &srv_conf->fastcgi_ss; - - memset(sun, 0, sizeof(*sun)); - sun->sun_family = AF_UNIX; - (void)strlcpy(sun->sun_path, HTTPD_FCGI_SOCKET, - sizeof(sun->sun_path)); - srv_conf->fastcgi_ss.ss_len = - sizeof(struct sockaddr_un); - srv_conf->flags |= f; - } - f = SRVFLAG_ROOT; if ((srv_conf->flags & f) == 0) { srv_conf->flags |= parent->flags & f; |