]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: payload: provide the "res.len" fetch method
authorWilly Tarreau <w@1wt.eu>
Wed, 11 Sep 2013 21:28:46 +0000 (23:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 11 Sep 2013 21:28:51 +0000 (23:28 +0200)
commit47e8eba9a7586b9d70003ee0e7a8191257180968
tree1b051c4b23f9e2ba3f024bcf868e7b56283f1431
parentcc1e04b1e8934212ca7e2535d84e8a5ec0717799
MINOR: payload: provide the "res.len" fetch method

This fetch method returns the response buffer len, similarly
to req.len for the request. Previously it was only possible
to rely on "res.payload(0,size) -m found" to find if at least
that amount of data was available, which was a bit tricky.
doc/configuration.txt
src/payload.c