]> git.ipfire.org Git - thirdparty/tornado.git/commit
Specify a non-zero port when testing localhost resolution.
authorBen Darnell <ben@bendarnell.com>
Tue, 12 Aug 2014 12:51:27 +0000 (08:51 -0400)
committerBen Darnell <ben@bendarnell.com>
Tue, 12 Aug 2014 12:55:03 +0000 (08:55 -0400)
commitafea02e18d4c228b7a5807df4c176e233580dc0f
treefb502244fe30ab538be746435886017e1400f291
parent93ae079795f51e23d11a8f7d05fa48ea6bb19cbf
Specify a non-zero port when testing localhost resolution.

Some getaddrinfo implementations (including OS X 10.6) fail
if we try to resolve port 0 without AI_PASSIVE.

Closes #1136.
tornado/test/tcpclient_test.py