Author quentel
Recipients amaury.forgeotdarc, barry, eric.araujo, erob, flox, ggenellina, giampaolo.rodola, gvanrossum, l0nwlf, oopos, pebbe, quentel, r.david.murray, tcourbon, tercero12, tobias, v+python
Date 2011-01-02.21:27:55
SpamBayes Score 1.75534e-06
Marked as misclassified No
Message-id <1294003680.96.0.467565047153.issue4953@psf.upfronthosting.co.za>
In-reply-to
Content
Here is the correct diff file

I also introduced a test to exit from the loop in read_multi() if the total number of bytes read reaches "content-length". It was necessary for my framework, which uses cgi.FieldStorage to read from the attribute rfile defined in socketserver. Without this patch, the program hangs after receiving the number of bytes specified in content length. I work on a Windows XP PC so it might be related to the bug #427345 handled by server.CGIHTTPRequestHandler.run_cgi()
History
Date User Action Args
2011-01-02 21:28:01quentelsetrecipients: + quentel, gvanrossum, barry, amaury.forgeotdarc, ggenellina, giampaolo.rodola, eric.araujo, v+python, r.david.murray, oopos, tercero12, tcourbon, tobias, flox, l0nwlf, pebbe, erob
2011-01-02 21:28:00quentelsetmessageid: <1294003680.96.0.467565047153.issue4953@psf.upfronthosting.co.za>
2011-01-02 21:27:55quentellinkissue4953 messages
2011-01-02 21:27:55quentelcreate