[New-bugs-announce] [issue6099] HTTP/1.1 with keep-alive support for xmlrpclib.ServerProxy

Kristján Valur Jónsson report at bugs.python.org
Sun May 24 22:52:12 CEST 2009


New submission from Kristján Valur Jónsson <kristjan at 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 <report at bugs.python.org>
<http://bugs.python.org/issue6099>
_______________________________________


More information about the New-bugs-announce mailing list