cool.io icon indicating copy to clipboard operation
cool.io copied to clipboard

Detect fallback local loopback address correctly

Open kenhys opened this issue 4 years ago • 1 comments

In the previous PR, #71, local loopback address is detected even though hosts file is empty, but there is a case that hosts file is NOT empty and localhost entry is missing. In such a case, Coolio::DNSResolver.hosts("localhost") does not work as expected. This PR should fix such case.

kenhys avatar Feb 17 '21 02:02 kenhys

@repeatedly sorry for missing another test case, could you review, please?

kenhys avatar Feb 17 '21 02:02 kenhys