quic: refactor and improve ipv6Only
Ignore ipv6Only: true
when binding to 'udp4'
(this differs from
dgram which will still attempt to apply the flag and will fail during
bind). Improve the test so that it should work consistently.
/cc @nodejs/quic
Signed-off-by: James M Snell jasnell@gmail.com
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines