Skip to content

Commit

Permalink
feat(client): implement rfc 6555 (happy eyeballs)
Browse files Browse the repository at this point in the history
Update client connector to attempt a parallel connection using
alternative address family, if connection using preferred address family
takes too long.

Closes: #1316
  • Loading branch information
hban authored and seanmonstar committed Jul 10, 2018
1 parent 5b5e309 commit 02a9c29
Show file tree
Hide file tree
Showing 3 changed files with 337 additions and 17 deletions.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
Loading

0 comments on commit 02a9c29

Please sign in to comment.