]> git.ipfire.org Git - thirdparty/tornado.git/commit
simple_httpclient: Report errno and reason for connection errors. 577/head
authorEvan Jones <ej@evanjones.ca>
Thu, 2 Aug 2012 15:13:58 +0000 (11:13 -0400)
committerEvan Jones <ej@evanjones.ca>
Thu, 2 Aug 2012 15:13:58 +0000 (11:13 -0400)
commitaaab26a4438aa794b28ab7b7dc01eb7b65c698e1
treeee8d711ddf2c2af183b93b0494ed0b485dd9e950
parent303e9635936c2aa5535c39c6712be98ded775276
simple_httpclient: Report errno and reason for connection errors.

Previously, this reported "Connection closed" for everything. This change
adds the exception info: HTTP 599: [Errno 61] Connection refused
tornado/simple_httpclient.py
tornado/test/simple_httpclient_test.py