]> git.kaiwu.me - nginx.git/commit
Core: slab log_nomem flag.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 31 Mar 2014 17:38:30 +0000 (21:38 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 31 Mar 2014 17:38:30 +0000 (21:38 +0400)
commit23f66898463308fdc70ab2659273fb9804f29370
tree3b714d7a7014f03c13c3340cfbca22a40248b275
parent8f6958baa97b43d16185364dcfb7d68361012740
Core: slab log_nomem flag.

The flag allows to suppress "ngx_slab_alloc() failed: no memory" messages
from a slab allocator, e.g., if an LRU expiration is used by a consumer
and allocation failures aren't fatal.

The flag is now used in the SSL session cache code, and in the limit_req
module.
src/core/ngx_slab.c
src/core/ngx_slab.h
src/event/ngx_event_openssl.c
src/http/modules/ngx_http_limit_req_module.c