[issue6099] HTTP/1.1 with keep-alive support for xmlrpclib.ServerProxy
Martin v. Löwis mar...@v.loewis.de added the comment: Superseded by issue6267. -- nosy: +loewis resolution: - out of date status: open - closed superseder: - Cumulative patch to http and xmlrpc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6099 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6099] HTTP/1.1 with keep-alive support for xmlrpclib.ServerProxy
Kristján Valur Jónsson krist...@ccpgames.com added the comment: It turns out we need to deal with exceptions and clear the cached HTTPConnection if they happen. Also, we just deal with a ECONNRESET which can happen if there is a long delay between requests, and retry the request once in that case. New patch uploaded. -- Added file: http://bugs.python.org/file14225/xmlprclib.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6099 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6099] HTTP/1.1 with keep-alive support for xmlrpclib.ServerProxy
Kristján Valur Jónsson krist...@ccpgames.com added the comment: I attach another patch, keepalive.patch, which includes the fixes from http://bugs.python.org/issue6096 and including a test for the keepalive mecahinsm in the test suite. Updated http://codereview.appspot.com/63144 -- Added file: http://bugs.python.org/file14067/keepalive.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6099 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6099] HTTP/1.1 with keep-alive support for xmlrpclib.ServerProxy
New submission from Kristján Valur Jónsson krist...@ccpgames.com: The Transport class in xmlrpclib.py was using the old httplib.HTTP class. This patch brings xmlrpclib up to date to use the HTTPConnection and HTTPSConnection classes. This allows xlmrpclib.ServerProxy to use HTTP/1.1 with keep-alive on servers that support it. Note that this patch benefits from recent optimizations of HTTPConnection reducing the Nagle problem. This is a separate patch from http://bugs.python.org/issue1767370 and in my opinion much simpler. See also http://bugs.python.org/issue2076 Patch uploaded as http://codereview.appspot.com/63144 -- components: Library (Lib) files: xmlprclib.patch keywords: needs review, patch, patch messages: 88283 nosy: krisvale severity: normal status: open title: HTTP/1.1 with keep-alive support for xmlrpclib.ServerProxy type: performance versions: Python 2.7, Python 3.0 Added file: http://bugs.python.org/file14059/xmlprclib.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6099 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com