Re: httpd: multiple addresses for one server

2015-01-03 Thread Reyk Floeter
On Thu, Jan 01, 2015 at 11:54:46PM -0500, Geoff Steckel wrote: Is there any way todo the equivalent of: server an.example.com listen on 192.168.2.99 listen on 2001.fefe.1.1::99 ?? It appears that the code in parse.y explicitly forbids this and the data structures for a server

Re: httpd: multiple addresses for one server

2015-01-03 Thread Reyk Floeter
On Sat, Jan 03, 2015 at 04:40:19PM +0100, Christopher Zimmermann wrote: Hi, On Sat, 3 Jan 2015 14:42:18 +0100 Reyk Floeter r...@openbsd.org wrote: On Thu, Jan 01, 2015 at 11:54:46PM -0500, Geoff Steckel wrote: Is there any way todo the equivalent of: server an.example.com

Re: httpd: multiple addresses for one server

2015-01-03 Thread Christopher Zimmermann
Hi, On Sat, 3 Jan 2015 14:42:18 +0100 Reyk Floeter r...@openbsd.org wrote: On Thu, Jan 01, 2015 at 11:54:46PM -0500, Geoff Steckel wrote: Is there any way todo the equivalent of: server an.example.com listen on 192.168.2.99 listen on 2001.fefe.1.1::99 I used include

Re: httpd: multiple addresses for one server

2015-01-03 Thread Reyk Floeter
On Sat, Jan 03, 2015 at 05:19:16PM +0100, Reyk Floeter wrote: My tests show that memory usage is not the problem but that there's indeed a problem with the pre-opened file descriptors for servers; something that is not necessary with aliases. A simple fix will follow. Here is a fix for the