New submission from Kristján Valur Jónsson <krist...@ccpgames.com>:
It is useful to be able to disable the Nagle algoritm on socket connections from the TCPServer. These are typically used by HTTP servers. If combined with write buffering (setting RequestHangler.wbufsize = -1) it can make sure that http responses are not subject to Nagle/Delayed-ack delays. Disabling Nagle in addition to providing the buffering is necessary to make sure that the final wfile.flush() arrives promptly, in case a previous flush occurred and the final flush is small. A patch is provided. ---------- files: disable_nagle.patch keywords: easy, patch, patch messages: 88878 nosy: krisvale severity: normal status: open title: add disable_nagle_algorithm to SocketServer.TCPServer type: feature request versions: Python 2.7 Added file: http://bugs.python.org/file14185/disable_nagle.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6192> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com