]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: http_fetch: Add smp_prefetch_htx
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 24 Oct 2018 19:39:27 +0000 (21:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 18 Nov 2018 21:09:00 +0000 (22:09 +0100)
commitef453ed9b0684d025fb741aae3d4f37ccbb0e731
tree523a23e9589380b8bea8fb68f43cdd7e95ce2e29
parentfec7bd16dee8244cfc798e10bc8f1295084d4477
MINOR: http_fetch: Add smp_prefetch_htx

It does the same than smp_prefetch_http but for HTX messages. It can be called
from an HTTP proxy or a TCP proxy. For HTTP proxies, the parsing is handled by
the mux, so it does nothing but wait. For TCP proxies, it tries to parse an HTTP
message and to convert it in a temporary HTX message. Sample fetches will use
this temporary variable to do their job.
include/proto/http_fetch.h
src/http_fetch.c