]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: rhttp: prevent listener suspend
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 16 May 2024 15:35:31 +0000 (17:35 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 22 May 2024 08:01:57 +0000 (10:01 +0200)
commit2770ef352e243ed3f0914e4d193ea3becf4dbb1b
tree31372d3ffae1b38bb652d11f6318acade5cb9f50
parentceebb09744df367ad84586a341d9336f84f72bce
BUG/MINOR: rhttp: prevent listener suspend

Ensure "disable frontend" on a reverse HTTP listener is forbidden by
returing -1 on suspend callback. Suspending such a listener has unknown
effect and so is not properly implemented for now.

This should be backported up to 2.9.
include/haproxy/proto_rhttp.h
src/proto_rhttp.c