]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: htx/backend: Make all tests on HTTP messages compatible with HTX
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 4 Feb 2019 11:02:18 +0000 (12:02 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 6 Feb 2019 09:20:01 +0000 (10:20 +0100)
commitf7679ad4db0ddbd68e37e3d6e8dc9ed30f8a034f
treee5bb348d32b21d437c502cdd1cdf02186d540a96
parent2bdcfde4260ac9115b8a0b7aa916975799273ea9
BUG/MAJOR: htx/backend: Make all tests on HTTP messages compatible with HTX

A piece of code about the HTX was lost this summer, after the "big merge"
(htx/http2/connection layer refactoring). I forgot to keep HTX changes in the
functions connect_server() and assign_server(). So, this patch fixes "uri",
"url_param" and "hdr" LB algorithms when the HTX is enabled. It also fixes
evaluation of the "sni" expression on server lines.

This issue was reported on github. See issue #32.

This patch must be backported in 1.9.
src/backend.c