]> git.kaiwu.me - haproxy.git/commit
MINOR: http: use fuzzy-match for the "return" action keywords
authorWilly Tarreau <w@1wt.eu>
Fri, 20 Nov 2026 14:01:46 +0000 (15:01 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 20 Nov 2026 14:06:15 +0000 (15:06 +0100)
commitb6184befb72ec14d5fa478a3ce8f0b0866918f89
treefa9755554560619ca8ccbdec870a6af636bb122b
parent62c0c84b8137c66eef41d355d7a4cb687e52c96c
MINOR: http: use fuzzy-match for the "return" action keywords

The "http-request return" action supports ~10 keywords whose spelling
is never well-known for the least common ones and requires one to check
the doc. Let's just leverage find_word_index_in_array() to locate the
keyword or suggest a close match.
src/http_htx.c