feat(client): implement rfc 6555 (happy eyeballs)
Update client connector to attempt a parallel connection using alternative address family, if connection using preferred address family takes too long. Closes: #1316
This commit is contained in:
committed by
Sean McArthur
parent
5b5e309095
commit
02a9c29e2e
@@ -1,5 +1,5 @@
|
||||
language: rust
|
||||
sudo: false
|
||||
sudo: true # Required for functional IPv6 (forces VM instead of Docker).
|
||||
dist: trusty
|
||||
matrix:
|
||||
fast_finish: true
|
||||
@@ -18,6 +18,13 @@ matrix:
|
||||
cache:
|
||||
apt: true
|
||||
|
||||
before_script:
|
||||
# Add an IPv6 config - see the corresponding Travis issue
|
||||
# https://github.com/travis-ci/travis-ci/issues/8361
|
||||
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
|
||||
sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
|
||||
fi
|
||||
|
||||
script:
|
||||
- ./.travis/readme.py
|
||||
- cargo build $FEATURES
|
||||
|
||||
Reference in New Issue
Block a user