websockets-rs / rust-websocket

A WebSocket (RFC6455) library written in Rust

Home Page:http://websockets-rs.github.io/rust-websocket/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Only tries to connect to the first DNS result and doesn't try following results

sdroege opened this issue · comments

See centricular/gstwebrtc-demos#120

Pretty standard usage of ws connecting to wss://webrtc.nirbheek.in:8443 via async_connect().

What happens here is that it resolves to 2a01:7e00::f03c:91ff:feae:244 and 176.58.110.251, tries the first, gets connection refused and does not even try the next one.