Re: Handling Large Number of Dynamic Hosts in Custom Module Subrequests

2016-09-27 Thread Maxim Dounin
Hello! On Mon, Sep 26, 2016 at 06:09:07PM +, Cloud Gate wrote: [...] > The first alternative approach we've come up with is to set an > HTTP header in the subrequest containing the target URL > (x_our_proxy_url=http://host1.domain.foo/...), target the > subrequest at a static /ourproxy lo

[PATCH] Core: fixed uninitialized memory access

2016-09-27 Thread Jan Seda
Struct sockaddr was allocated without zeroing. As getsockname() does not necessarily fill all the bytes, this left potentially uninitialized memory, which caused me a weird failure in the on-the-fly upgrade mechanism, where the new master failed to pair the config file AF_UNIX sockets with the inhe