]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] http: make the "HTTP 200" status code configurable.
authorWilly Tarreau <w@1wt.eu>
Wed, 11 May 2011 14:28:49 +0000 (16:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 11 May 2011 14:31:43 +0000 (16:31 +0200)
commitae94d4df8f54c9b48cd06320424eb2fab6e29aa4
tree9ea1d7eb77d0e24165fbbf390c4a29b37e0d60d0
parent436d9ed80806c6aa8fb6437420f849647a69f0c6
[MINOR] http: make the "HTTP 200" status code configurable.

This status code is used in response to requests matching "monitor-uri".
Some users need to adjust it to fit their needs (eg: make some strings
appear there). As it's already defined as a chunked string and used
exactly like other status codes, it makes sense to make it configurable
with the usual "errorfile", "errorloc", ...
doc/configuration.txt
include/types/proto_http.h
src/proto_http.c