]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: http: remove the long deprecated "set-cookie()" sample fetch function
authorWilly Tarreau <w@1wt.eu>
Fri, 11 Jun 2021 13:46:02 +0000 (15:46 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 11 Jun 2021 14:57:34 +0000 (16:57 +0200)
This one was marked as deprecated 9 years ago by commit 28376d62c
("MEDIUM: http: merge ACL and pattern cookie fetches into a single one")
and has disappeared from any documentation, so it never appeared in any
released version. Let's remove it now.

src/http_fetch.c

index 6e7ac9e2f1ab542ef60db353546621b3ff797c2d..a28cbaf4b3549802c348548997b29f9532a7fc67 100644 (file)
@@ -2153,7 +2153,6 @@ static struct sample_fetch_kw_list sample_fetch_keywords = {ILH, {
        { "scook",              smp_fetch_cookie,             ARG1(0,STR),      NULL,    SMP_T_STR,  SMP_USE_HRSHV },
        { "scook_cnt",          smp_fetch_cookie_cnt,         ARG1(0,STR),      NULL,    SMP_T_SINT, SMP_USE_HRSHV },
        { "scook_val",          smp_fetch_cookie_val,         ARG1(0,STR),      NULL,    SMP_T_SINT, SMP_USE_HRSHV },
-       { "set-cookie",         smp_fetch_cookie,             ARG1(0,STR),      NULL,    SMP_T_STR,  SMP_USE_HRSHV }, /* deprecated */
 
        /* shdr is valid only on the response and is used for ACL compatibility */
        { "shdr",               smp_fetch_hdr,                ARG2(0,STR,SINT), val_hdr, SMP_T_STR,  SMP_USE_HRSHV },