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
diff --git a/Makefile b/Makefile
index 6b9e634..8f1bcd2 100644
--- a/Makefile
+++ b/Makefile
@@ -857,7 +857,7 @@
src/raw_sock.o src/lb_chash.o src/lb_fwlc.o src/lb_fwrr.o \
src/lb_fas.o src/applet.o src/hdr_idx.o src/ev_select.o src/hash.o \
src/lb_map.o src/base64.o src/sha1.o src/protocol.o src/h1.o \
- src/action.o src/hathreads.o src/mux_pt.o
+ src/action.o src/hathreads.o src/mux_pt.o src/cache.o
EBTREE_OBJS = $(EBTREE_DIR)/ebtree.o \
$(EBTREE_DIR)/eb32tree.o $(EBTREE_DIR)/eb64tree.o \