happy_eyeballs: enable parallel A/AAAA resolution
This commit is contained in:
parent
d3fab29d38
commit
662c61b801
2 changed files with 19 additions and 7 deletions
|
|
@ -62,7 +62,6 @@ impl Client {
|
|||
.map_err(|_| Error::Idna)
|
||||
.and_then(|domain|
|
||||
done(Connecter::from_lookup(&domain, Some("_xmpp-client._tcp"), 5222))
|
||||
.map_err(Error::Connection)
|
||||
)
|
||||
.flatten()
|
||||
.and_then(move |tcp_stream|
|
||||
|
|
|
|||
Loading…
Reference in a new issue