On Tue, May 3, 2016 at 10:51 AM, William A Rowe Jr <wr...@rowe-clan.net> wrote:
> > If we want to be more robust, have a look at the current 2.4.x > implementation of ap_get_useragent_host() in core.c... > > if (r->useragent_addr == conn->client_addr) { > return ap_get_remote_host(conn, r->per_dir_config, type, > str_is_ip); > } > > Perhaps this would be better... > > if (!r->useragent_addr || (r->useragent_addr == conn->client_addr)) { > return ap_get_remote_host(conn, r->per_dir_config, type, > str_is_ip); > } > Committed and proposed for backport.