]> git.ipfire.org Git - thirdparty/tornado.git/commit
simple_httpclient: Start the connection timeout before the Resolver call.
authorBen Darnell <ben@bendarnell.com>
Mon, 4 Nov 2013 20:19:32 +0000 (15:19 -0500)
committerBen Darnell <ben@bendarnell.com>
Mon, 4 Nov 2013 20:19:32 +0000 (15:19 -0500)
commit5896bbec44387b91c8b6fe7bda673a250d829e7d
tree2f297a8a1a28ca8df725e0ffe522145fdd5205ad
parent99609569088b0df0d10d16b8ba0a023777e174f0
simple_httpclient: Start the connection timeout before the Resolver call.

Timeouts were previously unenforced during DNS resolution.
tornado/simple_httpclient.py
tornado/test/simple_httpclient_test.py