]> git.ipfire.org Git - thirdparty/tornado.git/commit
tcpclient: catch any `socket()` errors 1821/head
author依云 <lilydjwg@gmail.com>
Mon, 5 Sep 2016 10:03:36 +0000 (18:03 +0800)
committer依云 <lilydjwg@gmail.com>
Sun, 11 Sep 2016 07:56:12 +0000 (15:56 +0800)
commite40b89a8691621653ccca66e9bf81240e6cb1ae5
treeb189cb23233a9e7a2fd57bcab2bba46980bd6dc2
parent9d76ab924ddeafa136cf373949029313085fef7e
tcpclient: catch any `socket()` errors

so we can try next addresses, e.g. when trying to connect to IPv6
addresses on OSes with IPv6 disabled which fails with a protocol not
supported error

This fixes #1809.
tornado/tcpclient.py