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

Reply via email to