MINOR: shctx: Add a maximum object size parameter.
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 22 Oct 2018 14:21:39 +0000 (16:21 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 24 Oct 2018 02:39:44 +0000 (04:39 +0200)
commitb7838afe6f3afa565a30c35869431f169cf931c5
tree67566ca20a4ffb9ae0a12d114751a3fe6a38e408
parent8df65ae5e26531d4794e9bf9887b83f1428fc6d0
MINOR: shctx: Add a maximum object size parameter.

This patch adds a new parameter to shctx_init() function to be used to
limit the size of each shared object, -1 value meaning "no limit".
include/proto/shctx.h
include/types/shctx.h
src/cache.c
src/shctx.c
src/ssl_sock.c