Commit d097f6d
authored
[test] Fix WebsockifyServerHarness on ipv6 enabled machine. NFC (#22822)
The test_nodejs_sockets_echo_subprotocol_runtime test was failing on my
machine because node was resolving "localhost" to the IPv6 address ::1
but the websockify server was running on the IPv4 address 127.0.0.1.
The only thing that `source_is_ipv6=True `does is set `prefer_ip6` which
in turn just reveres the list of results from the DNS lookup:
https://github.com/novnc/websockify/blob/417210f2cf8db9cd3cd9d86c45ef954778176b0e/websockify/websockifyserver.py#L454-L4551 parent 5c637a6 commit d097f6d
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
| |||
0 commit comments