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 theamk
Recipients theamk
Date 2012-09-20.20:02:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348171381.08.0.748825821227.issue15991@psf.upfronthosting.co.za>
In-reply-to
Content
When using BaseHTTPServer with ThreadingMixIn, sometimes the wrong data is served. 

The attached script requests normal URL and URLs which are not found in multiple threads using wget (which only saves pages if it gets 200 OK status).
Every once in a while responses are incorrect.
 - sometimes normal URL gets a '404 not found' content with '200 OK' status.
 - sometimes, a '404 not found' page gets '200 OK' status code

The problems become much, much less frequent if ThreadingMixIn is removed.

Python 2.7.3 on ubuntu 12.04 x86_64.
History
Date User Action Args
2012-09-20 20:03:01theamksetrecipients: + theamk
2012-09-20 20:03:01theamksetmessageid: <1348171381.08.0.748825821227.issue15991@psf.upfronthosting.co.za>
2012-09-20 20:03:00theamklinkissue15991 messages
2012-09-20 20:03:00theamkcreate