httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Stoddard <b...@wstoddard.com>
Subject Re: [PATCH] Page Fault in mod_mem_cache-steaming response
Date Fri, 12 Dec 2003 01:13:03 GMT
Jean-Jacques Clar wrote:

> Bugzilla Defect #21285
> This is a rework of the already posted patch.
>  
> It address the following situation;
> 1- request comes in for streaming response
> 2- before that request could be completed, the entry is ejected from the 
> cache
> 3- when completing the write body step, the incomplete entry is removed
> before inserting the correct entry.
>  
> The problem is that the incomplete entry was already removed/replaced
> in the cache. The cache_remove() will then seg fault.
> I don't think it has something to do with the cache size has stated
> in the bug description. I will follow with a patch removing the deprecated
> cache_size and object_cnt from the mem_cache_conf struct.
I will review this but it will be next week before I'll be able to get to it. This patch doesn't
feel right 
but I need some time to relearn mod_mem_cache to say for sure.

Bill


Mime
View raw message