]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: cache: configuration parsing and initialization
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 30 Oct 2017 10:15:51 +0000 (11:15 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 20:17:19 +0000 (21:17 +0100)
commit41db46035ebf39a0c147fa96ecd5900af10123ea
treef1209da33e2ec195947eae8ef8e48e7d4ee89fc8
parent7217c46dfefccf581583f6f38ba8032a0dfad643
MEDIUM: cache: configuration parsing and initialization

Parse a configuration section "cache" and a http-{response,request}
actions.

Example:

    listen frt
        mode http
        http-response cache-store foobar
        http-request cache-use foobar

    cache foobar
        total-max-size 4   # size in megabytes
Makefile
include/types/cache.h [new file with mode: 0644]
src/cache.c [new file with mode: 0644]