hectorr
committed
on 26 Feb 20
Fix '::acs::test::set_user' for cases when 'address' is not an IP, but a hostname. The address, if not provided by the TestURL parameter, is… Show more
Fix '::acs::test::set_user' for cases when 'address' is not an IP, but a hostname. The address, if not provided by the TestURL parameter, is parsed from 'ns_conn location', and in both cases it can be hostname instead of an IP. The 'address' is later compared against 'ns_conn peeraddr' in security proc's 'sec_handler', which is always an IP, preventing login on those cases. To avoid this, we try to resolve the address in advance.

Show less