]> git.ipfire.org Git - thirdparty/tornado.git/commit
Add an interface to set the TCP_NODELAY flag on an IOStream.
authorBen Darnell <ben@bendarnell.com>
Sun, 5 May 2013 01:50:31 +0000 (21:50 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 5 May 2013 01:55:08 +0000 (21:55 -0400)
commit0fe807b543c36cbd8557651600d4dcaeff59d4aa
treea37e9a5f02faeee577e56e7172d23a7eeb634ac8
parent1b4556f1507dfd955ef783d08ad201500786d62b
Add an interface to set the TCP_NODELAY flag on an IOStream.

Use this flag from simple_httpclient (always) and httpserver (when a complete
response is available), and add an accessor for WebSocketHandler.

Also make simple_httpclient send headers and body in a single
IOStream.write call.
tornado/httpserver.py
tornado/iostream.py
tornado/simple_httpclient.py
tornado/websocket.py