summaryrefslogtreecommitdiff
path: root/tests/http
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-08-11 11:45:24 +0300
committerValery Piashchynski <[email protected]>2021-08-11 11:45:24 +0300
commit3e2e9fbd9650c44d57a41a9dc702fe93aad2b77f (patch)
tree38f25c3c0679e8510b896d001d1b7dccf21c4bd8 /tests/http
parentd449d9d5aec1eec6d494064299feb1551f88ffe2 (diff)
Replace all 'localhost' with '127.0.0.1'. Fix default configuration and
other small bugs. Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/http')
-rw-r--r--tests/http/client.php2
-rw-r--r--tests/http/slow-client.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/http/client.php b/tests/http/client.php
index ad5cce24..90b5c2b5 100644
--- a/tests/http/client.php
+++ b/tests/http/client.php
@@ -18,7 +18,7 @@ switch ($goridge) {
break;
case "tcp":
- $relay = new Goridge\SocketRelay("localhost", 9007);
+ $relay = new Goridge\SocketRelay("127.0.0.1", 9007);
break;
case "unix":
diff --git a/tests/http/slow-client.php b/tests/http/slow-client.php
index 731232f7..1eaa7bc8 100644
--- a/tests/http/slow-client.php
+++ b/tests/http/slow-client.php
@@ -19,7 +19,7 @@ switch ($goridge) {
break;
case "tcp":
- $relay = new Goridge\SocketRelay("localhost", 9007);
+ $relay = new Goridge\SocketRelay("127.0.0.1", 9007);
break;
case "unix":