[issue6096] SimpleXMLRPCServer not suitable for HTTP/1.1 keep-alive

2009-06-20 Thread Martin v . Löwis
Martin v. Löwis added the comment: Superseded by issue6267. -- nosy: +loewis resolution: -> out of date status: open -> closed superseder: -> Cumulative patch to http and xmlrpc ___ Python tracker ___

[issue6096] SimpleXMLRPCServer not suitable for HTTP/1.1 keep-alive

2009-06-09 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Here is a better patch. Remove the individual flush() operations from the implementation classes, rather do it in the BaseHTTPRequestHandler(). This allows any request handler to be write buffered. -- Added file: http://bugs.python.org/file14

[issue6096] SimpleXMLRPCServer not suitable for HTTP/1.1 keep-alive

2009-05-24 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson : The SimpleXMRRPCServer class calls connection.shutdown(1) when done with each request, thus making it unsuitable for a RequestHandler that supports HTTP/1.1 with keep-alive. This patch removes those extra shutdown calls. Patch also uploaded as http