toxiproxy icon indicating copy to clipboard operation
toxiproxy copied to clipboard

Populate doesn't compare hostnames properly

Open xthexder opened this issue 9 years ago • 0 comments

When a proxy is created with a hostname such as localhost, toxiproxy will resolve the address and store the ip address 127.0.0.1. This means that host comparisons such as in /populate will fail unless a static ip is used originally.

The address should be resolved to an IP and then compared after so that comparisons are consistent.

xthexder avatar Sep 14 '16 04:09 xthexder