Jeremy Hylton <[EMAIL PROTECTED]> added the comment: I did the simple part of the patch, where the request and headers are sent at the same time. The applied patch didn't pass the test suite, and I want to think about the buffering change a bit more. It's definitely tricky.
Jeremy On Fri, Nov 28, 2008 at 5:53 AM, Kristján Valur Jónsson <[EMAIL PROTECTED]> wrote: > > Kristján Valur Jónsson <[EMAIL PROTECTED]> added the comment: > > Guido pointed out the problem with _fileobject.readline() being > followed by socket.recv() if readline uses read buffering. > xmlrpclib.py was attempting to directly use the underlying socket, > although in actual fact it never did, (since HTTPConnectio had closed > it when it returned the response from getresponse()) Never the less, it > is prudent to make sure that we don't attempt this. > There really should be no need to use the socket directly, a buffered > read() call is just as efficient. > > Added file: http://bugs.python.org/file12145/xmlrpc.patch > > _______________________________________ > Python tracker <[EMAIL PROTECTED]> > <http://bugs.python.org/issue4336> > _______________________________________ > _______________________________________________ > Python-bugs-list mailing list > Unsubscribe: > http://mail.python.org/mailman/options/python-bugs-list/jeremy%40alum.mit.edu > > _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4336> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com