]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: http-fetch: Don't fetch the method if there is no stream
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 6 Jul 2022 15:53:02 +0000 (17:53 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 7 Jul 2022 07:35:58 +0000 (09:35 +0200)
commit12f6dbb863fe941c6d84cf3d521dfcb4c0e2f355
tree7ac946b9e58f1adc0c86f2a56de9f0f4d644ad06
parentd1d983fb1267a42e602bf7fb0467e4cfa3c184de
BUG/MEDIUM: http-fetch: Don't fetch the method if there is no stream

The "method" sample fetch does not perform any check on the stream existence
before using it. However, for errors triggered at the mux level, there is no
stream. When the log message is formatted, this sample fetch must fail. It
must also fail when it is called from a health-check.

This patch must be backported as far as 2.4.
src/http_fetch.c