On 23 Sep 2009, at 14:40, bugzi...@apache.org wrote:

https://issues.apache.org/bugzilla/show_bug.cgi?id=15866

--- Comment #6 from Dan Poirier <poir...@pobox.com> 2009-09-23 06:40:13 PDT ---
Created an attachment (id=24306)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24306)
Trunk patch to not cache responses whose length doesn't match the
Content-length header

Here's a trunk patch. It checks the length of the response after caching it, and if it doesn't match the Content-Length header, then drops the cache entry.

Hey, you're a committer now!  Any reason you didn't just commit?

A patch will generally get more review in /trunk/ than in bugzilla
if that's your concern.  Or if you have particular issues you need
to raise, a post to the dev list is in order.

--
Nick Kew

Reply via email to