Bug #1635
Updated by Junxiao Shi over 10 years ago
FaceURI: `wsclient://[::ffff:76.90.11.239]:56366` Expected: no error, `wsclient://76.90.11.239:56366` is constructed error Actual: `Malformed URI: wsclient://[::ffff:76.90.11.239]:56366` FaceUri should treat an IPv6 endpoint containing IPv4-mapped IPv6 address as the corresponding IPv4 endpoint (eg. When scheme is not specified, "tcp4" should be chosen instead of "tcp6") --- Problem was discovered when using WebSocket faces. 1400690340.435746 FATAL: [NFD] Malformed URI: wsclient://[::ffff:76.90.11.239]:56366 This happens when NFD is running dual-stack WebSocket while the client is from IPv4. A temporary fix is to disable IPv6 for WebSocket faces.