]> git.ipfire.org Git - thirdparty/squid.git/commit
dynamic_cert_mem_cache_size option related fixes
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 19 Feb 2014 17:53:27 +0000 (19:53 +0200)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 19 Feb 2014 17:53:27 +0000 (19:53 +0200)
commit9873e378da91cf253e4b476ad3fc9fce24ef350c
treec6162f72d31bbdf7037cc8806fe7e1cfc0c83a03
parent6e1410f95b3d7532a663ef0adaaaaa905c563439
dynamic_cert_mem_cache_size option related fixes

This patch fixes the following problems:

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.
      This 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.

This is a Measurement Factory project
src/base/LruMap.h
src/client_side.cc
src/ssl/context_storage.cc
src/ssl/context_storage.h