]> git.ipfire.org Git - thirdparty/tornado.git/commit
Refactor connection logic from simple_httpclient to a new tcpclient module.
authorBen Darnell <ben@bendarnell.com>
Sat, 3 May 2014 15:40:01 +0000 (11:40 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 18 May 2014 14:18:53 +0000 (10:18 -0400)
commit2278cef74f55c4f01bd7a4baebc73c2052cb6849
treed6e16a35d3698c78dbd57e5201b6b53ca98e38bf
parent4b6fc9cb9fe5d9b8018b1a32645b74c86f5576e1
Refactor connection logic from simple_httpclient to a new tcpclient module.

This is preparation for introducing connection pooling and better
handling of ipv6.

If an IOStream was closed due to an exception, its Futures will
now raise that exception instead of StreamClosedError.
tornado/http1connection.py
tornado/iostream.py
tornado/simple_httpclient.py
tornado/tcpclient.py [new file with mode: 0644]
tornado/test/httpserver_test.py
tornado/test/runtests.py
tornado/test/tcpclient_test.py [new file with mode: 0644]
tornado/websocket.py