toxiproxy
toxiproxy copied to clipboard
Populate doesn't compare hostnames properly
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.