Henri Gomez wrote:
Glenn Nielsen a écrit :
I have been testing mod_jk 1.2.5 with Apache 2 and load balancing.
I noticed in the source that mod_jk 1.2 endpoint cache's are disabled by forcing ep_cache_sz=0. I did a cvs log and could not find any comments on why this is so. Is there a reason why this is disabled?
Using a cache with a cache timeout sure would be handy for Apache 2 when using the worker MPM.
This feature is documented in the jk docs and I don't see where anything is mentioned that it is disabled.
I allways set cache in workers.properties but yes we should fix the documentation to explain that it's disabled by default.
I can do it ASAP
What I am saying is that use of the endpoint cache is completely disabled
in the code, it doesn't matter what you set the cachesize to in worker.properties.
Look at ajp_init() in ajp_common.c
Ooops didn't see all the code :
---
ep_cache_sz is correctly set in line 1440
BTW, I wonder why there is a ep_mincache_sz, it's not used elsewhere
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]