From 82b61f35dbd5fd7c797ea2fc5b25dc86e5c635e6 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Fri, 27 Dec 2019 19:05:47 -0800 Subject: Bind to IP address -- localhost might not go where you think. Seeing this failure in the cloud on Darwin. --- src/supplemental/websocket/wssfile_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/supplemental/websocket/wssfile_test.c b/src/supplemental/websocket/wssfile_test.c index 5a2e76a9..f55a9e84 100644 --- a/src/supplemental/websocket/wssfile_test.c +++ b/src/supplemental/websocket/wssfile_test.c @@ -242,7 +242,7 @@ test_invalid_verify(void) nng_listener l; char addr[32]; - snprintf(addr, sizeof(addr), "wss://localhost:%u/test", port); + snprintf(addr, sizeof(addr), "wss://:%u/test", port); TEST_NNG_PASS(nng_pair_open(&s1)); TEST_NNG_PASS(nng_pair_open(&s2)); -- cgit v1.2.3-70-g09d2