You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2009-06-20.16:28:08.286>created_at=<Date2009-05-24.20:52:10.947>labels= ['library', 'performance']
title='HTTP/1.1 with keep-alive support for xmlrpclib.ServerProxy'updated_at=<Date2009-06-20.16:28:08.273>user='https://github.com/kristjanvalur'
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.
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.
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.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: