Issue6099
Created on 2009-05-24 20:52 by krisvale, last changed 2009-06-20 16:28 by loewis.
|
msg88283 - (view) |
Author: Kristján Valur Jónsson (krisvale) |
Date: 2009-05-24 20:52 |
|
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
|
|
msg88316 - (view) |
Author: Kristján Valur Jónsson (krisvale) |
Date: 2009-05-25 10:33 |
|
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
|
|
msg89078 - (view) |
Author: Kristján Valur Jónsson (krisvale) |
Date: 2009-06-08 13:31 |
|
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.
|
|
msg89542 - (view) |
Author: Martin v. Löwis (loewis) |
Date: 2009-06-20 16:28 |
|
Superseded by issue6267.
|
|
| Date |
User |
Action |
Args |
| 2009-06-20 16:28:08 | loewis | set | status: open -> closed
nosy:
+ loewis messages:
+ msg89542
superseder: Cumulative patcc:h to http and xmlrpc keywords:
patch, patch, needs review resolution: out of date |
| 2009-06-08 13:31:47 | krisvale | set | keywords:
patch, patch, needs review files:
+ xmlprclib.patch messages:
+ msg89078
|
| 2009-05-25 10:34:02 | krisvale | set | keywords:
patch, patch, needs review files:
+ keepalive.patch messages:
+ msg88316
|
| 2009-05-24 20:52:11 | krisvale | create | |
|