Discussion:
[Twisted-Python] twisted.web.xmlrpc.Proxy using the new HTTP 1.1 client?
Michael Schlenker
2015-12-17 14:59:24 UTC
Permalink
Hi,

looking at the xmlrpc client code, it looks like it still does HTTP 1.0
only.

Did anyone try to hook it up to the new HTTPConnectionPool and
HTTP11ClientProtocol in twisted.web.client?

How hard should it be to do that, any pointers on how to do a conversion?

I'm mostly interested in the persistent connections feature of HTTP1.1
(due to TLS setup costs for new connections and burning through too many
client sockets when many calls are made).

Michael
--
Michael Schlenker
Senior Software Engineer

CONTACT Software GmbH Tel.: +49 (421) 20153-80
Wiener Straße 1-3 Fax: +49 (421) 20153-41
28359 Bremen
E-Mail: ***@contact-software.com
http://www.contact-software.com/

Registered office: Bremen, Germany
Managing directors: Karl Heinz Zachries, Ralf Holtgrefe
Court of register: Amtsgericht Bremen HRB 1321
Glyph Lefkowitz
2015-12-17 20:30:41 UTC
Permalink
Post by Michael Schlenker
Hi,
looking at the xmlrpc client code, it looks like it still does HTTP 1.0
only.
Did anyone try to hook it up to the new HTTPConnectionPool and
HTTP11ClientProtocol in twisted.web.client?
How hard should it be to do that, any pointers on how to do a conversion?
I'm mostly interested in the persistent connections feature of HTTP1.1
(due to TLS setup costs for new connections and burning through too many
client sockets when many calls are made).
I think the ticket you're looking for is https://twistedmatrix.com/trac/ticket/7012 <https://twistedmatrix.com/trac/ticket/7012>. And it looks like nobody has done anything there, so you can be the first person to submit a patch! :)

-glyph

Loading...