diff options
| author | Garrett D'Amore <garrett@damore.org> | 2019-12-27 19:05:47 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2019-12-27 19:05:47 -0800 |
| commit | 82b61f35dbd5fd7c797ea2fc5b25dc86e5c635e6 (patch) | |
| tree | a9580d5834d8baafb862a2ce00832694f188fd7b /src/supplemental/websocket | |
| parent | 593e31304508791ac75be25c0a605652c2edd438 (diff) | |
| download | nng-82b61f35dbd5fd7c797ea2fc5b25dc86e5c635e6.tar.gz nng-82b61f35dbd5fd7c797ea2fc5b25dc86e5c635e6.tar.bz2 nng-82b61f35dbd5fd7c797ea2fc5b25dc86e5c635e6.zip | |
Bind to IP address -- localhost might not go where you think.
Seeing this failure in the cloud on Darwin.
Diffstat (limited to 'src/supplemental/websocket')
| -rw-r--r-- | src/supplemental/websocket/wssfile_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |
