This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients Lukasa, christian.heimes, r.david.murray
Date 2013-12-16.14:35:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1387204538.18.0.537045632301.issue19996@psf.upfronthosting.co.za>
In-reply-to
Content
I haven't looked at the code, but could we preserve the existing behavior but apply a timeout to mitigate the DOS?

On the other hand, the fact that curl manages to return something indicates there is probably an error recovery strategy that would work.  I'm not sure if we have an error reporting mechanism in httplib if we do error recovery.  We do in the email module, and httplib uses the email code for headers, I think, so there might be a way to leverage that if there is no existing mechanism.  But of course even deciding to do that requires some discussion :)
History
Date User Action Args
2013-12-16 14:35:38r.david.murraysetrecipients: + r.david.murray, christian.heimes, Lukasa
2013-12-16 14:35:38r.david.murraysetmessageid: <1387204538.18.0.537045632301.issue19996@psf.upfronthosting.co.za>
2013-12-16 14:35:38r.david.murraylinkissue19996 messages
2013-12-16 14:35:37r.david.murraycreate