tests: fix broken tests with node v0.12 branch
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Currently, test/req.ip.js assumes that the connection between the client and the server is an IPv4 connection. However, depending on the configuration of the host where this test runs, the connection can be an IPv4 one or an IPv6 one using an IPv4 mapped address. In the future, it could also be a "full" IPv6 connection. This change makes this test handle any type of address. fixes #2342
authored by Julien Gilli · committed by Douglas Christopher Wilson · parent 4b1b8e4 · Browse files · 1 file+15 added−7 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+15 added−7 removed
- tests:+15 added−7 removed