]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: checks/http-fetch: Support htx prefetch from a check for HTTP samples
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 29 Apr 2020 13:51:55 +0000 (15:51 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 5 May 2020 09:06:43 +0000 (11:06 +0200)
commit778f5ed4785a1f90a224814f04d94fa654a99f9a
tree557c7d545d905b6d63457307f6ead3da897fc386
parent472ad51edeb4bb5ea601d7e296b5d0a0cd1a140a
MEDIUM: checks/http-fetch: Support htx prefetch from a check for HTTP samples

Some HTTP sample fetches will be accessible from the context of a http-check
health check. Thus, the prefetch function responsible to return the HTX message
has been update to handle a check, in addition to a channel. Both cannot be used
at the same time. So there is no ambiguity.
include/proto/http_fetch.h
src/http_fetch.c
src/http_htx.c