Only open a socket once for each unique "listen on" statement. This
authorreyk <reyk@openbsd.org>
Tue, 6 Jan 2015 14:07:48 +0000 (14:07 +0000)
committerreyk <reyk@openbsd.org>
Tue, 6 Jan 2015 14:07:48 +0000 (14:07 +0000)
commit27fb06b4c8af02ac764589845931449083c6f4fc
treed74dd09f44bf3a1ee21517805df1e18398ec0672
parent03fd4389d322b0d56638505ec31b39cfe05d16aa
Only open a socket once for each unique "listen on" statement.  This
prevents running out of file descriptors when loading a configuration
with many aliases.

OK florian@
usr.sbin/httpd/config.c
usr.sbin/httpd/parse.y
usr.sbin/httpd/server.c