[BF] wrong value of cache max-size in workers

Sergey Brester serg.brester at sebres.de
Tue Jun 14 14:50:19 UTC 2016


Hi,

enclosed you'll find a changeset with fix for wrong max_size in http 
file cache:

max_size still in bytes in child workers, because cache init called in 
master (and cache->max_size does not corrected from child if already 
exists, and it is not in shared mem),
so this large size will be "never" reached, in such comparisons like `if 
(size < cache->max_size) ...`.

Regards,
Sergey Brester (aka sebres).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: _sb-cache-max-size-fix.patch
Type: text/x-diff
Size: 838 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20160614/e84da3a0/attachment.bin>


More information about the nginx-devel mailing list