Re: [PATCH] dynamic_cert_mem_cache_size option related fixes

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 19 Feb 2014 10:50:11 +1300

On 2014-02-19 06:33, Tsantilas Christos wrote:
> Hi all,
>
> While working on 4005 bug, we found some problems, which fixed with the
> attached patch:
> 1) The dynamic_cert_mem_cache_size does not change on reconfigure
> 2) When dynamic_cert_mem_cache_size of http_port set to 0 then:
> a) The dynamic certs cache is grow unlimited.
> The attached patch just disables certificates caching
> when this option set to 0.
> b) Huge amount of memory appeared as free cache memory in
> "Cached ssl certificates statistic" page of cache manager.
> This problem caused because of a signed to unsigned int
> conversion.
>
> I must note that this patch changes the current behaviour of
> dynamic_cert_mem_cache_size option of http_port:
> Currently the size of cache is unlimited when it is set to 0, but this
> patch disables the cache when this option set to 0.
>
> Regards,
> Christos

+1.

Amos
Received on Tue Feb 18 2014 - 21:50:21 MST

This archive was generated by hypermail 2.2.0 : Wed Feb 19 2014 - 12:00:14 MST