- set-log-level <level>
- set-map(<file-name>) <key fmt> <value fmt>
- set-status <status> [reason <str>]
- - set-var(<var-name>[,<cond> ...]) <expr>
- - set-var-fmt(<var-name>[,<cond> ...]) <fmt>
+ - set-var(<var-name>[,<cond>...]) <expr>
+ - set-var-fmt(<var-name>[,<cond>...]) <fmt>
- strict-mode { on | off }
- unset-var(<var-name>)
between 100 and 999. Please refer to "http-response set-status" for a complete
description.
-http-after-response set-var(<var-name>[,<cond> ...]) <expr> [ { if | unless } <condition> ]
-http-after-response set-var-fmt(<var-name>[,<cond> ...]) <fmt> [ { if | unless } <condition> ]
+http-after-response set-var(<var-name>[,<cond>...]) <expr> [ { if | unless } <condition> ]
+http-after-response set-var-fmt(<var-name>[,<cond>...]) <fmt> [ { if | unless } <condition> ]
This is used to set the contents of a variable. The variable is declared
inline. Please refer to "http-request set-var" and "http-request set-var-fmt"
"http-check send".
-http-check set-var(<var-name>[,<cond> ...]) <expr>
-http-check set-var-fmt(<var-name>[,<cond> ...]) <fmt>
+http-check set-var(<var-name>[,<cond>...]) <expr>
+http-check set-var-fmt(<var-name>[,<cond>...]) <fmt>
This operation sets the content of a variable. The variable is declared inline.
May be used in sections: defaults | frontend | listen | backend
yes | no | yes | yes
- set-timeout { server | tunnel } { <timeout> | <expr> }
- set-tos <tos>
- set-uri <fmt>
- - set-var(<var-name>[,<cond> ...]) <expr>
- - set-var-fmt(<var-name>[,<cond> ...]) <fmt>
+ - set-var(<var-name>[,<cond>...]) <expr>
+ - set-var-fmt(<var-name>[,<cond>...]) <fmt>
- send-spoe-group <engine-name> <group-name>
- silent-drop [ rst-ttl <ttl> ]
- strict-mode { on | off }
and/or the query string should be set separately.
See also "http-request set-path" and "http-request set-query".
-http-request set-var(<var-name>[,<cond> ...]) <expr> [ { if | unless } <condition> ]
-http-request set-var-fmt(<var-name>[,<cond> ...]) <fmt> [ { if | unless } <condition> ]
+http-request set-var(<var-name>[,<cond>...]) <expr> [ { if | unless } <condition> ]
+http-request set-var-fmt(<var-name>[,<cond>...]) <fmt> [ { if | unless } <condition> ]
This is used to set the contents of a variable. The variable is declared
inline.
- set-nice <nice>
- set-status <status> [reason <str>]
- set-tos <tos>
- - set-var(<var-name>[,<cond> ...]) <expr>
- - set-var-fmt(<var-name>[,<cond> ...]) <fmt>
+ - set-var(<var-name>[,<cond>...]) <expr>
+ - set-var-fmt(<var-name>[,<cond>...]) <fmt>
- silent-drop [ rst-ttl <ttl> ]
- strict-mode { on | off }
- track-sc0 <key> [table <table>]
to the value passed in <tos> on platforms which support this. Please refer to
"http-request set-tos" for a complete description.
-http-response set-var(<var-name>[,<cond> ...]) <expr> [ { if | unless } <condition> ]
-http-response set-var-fmt(<var-name>[,<cond> ...]) <fmt> [ { if | unless } <condition> ]
+http-response set-var(<var-name>[,<cond>...]) <expr> [ { if | unless } <condition> ]
+http-response set-var-fmt(<var-name>[,<cond>...]) <fmt> [ { if | unless } <condition> ]
This is used to set the contents of a variable. The variable is declared
inline. Please refer to "http-request set-var" and "http-request set-var-fmt"
"tcp-check send", tune.bufsize
-tcp-check set-var(<var-name>[,<cond> ...]) <expr>
-tcp-check set-var-fmt(<var-name>[,<cond> ...]) <fmt>
+tcp-check set-var(<var-name>[,<cond>...]) <expr>
+tcp-check set-var-fmt(<var-name>[,<cond>...]) <fmt>
This operation sets the content of a variable. The variable is declared inline.
May be used in sections: defaults | frontend | listen | backend
yes | no | yes | yes
- set-src <expr>
- set-src-port <expr>
- set-tos <tos>
- - set-var(<var-name>[,<cond> ...]) <expr>
- - set-var-fmt(<var-name>[,<cond> ...]) <fmt>
+ - set-var(<var-name>[,<cond>...]) <expr>
+ - set-var-fmt(<var-name>[,<cond>...]) <fmt>
- silent-drop [ rst-ttl <ttl> ]
- track-sc0 <key> [table <table>]
- track-sc1 <key> [table <table>]
to the value passed in <tos> on platforms which support this. Please refer to
"http-request set-tos" for a complete description.
-tcp-request connection set-var(<var-name>[,<cond> ...]) <expr> [ { if | unless } <condition> ]
-tcp-request connection set-var-fmt(<var-name>[,<cond> ...]) <fmt> [ { if | unless } <condition> ]
+tcp-request connection set-var(<var-name>[,<cond>...]) <expr> [ { if | unless } <condition> ]
+tcp-request connection set-var-fmt(<var-name>[,<cond>...]) <fmt> [ { if | unless } <condition> ]
This is used to set the contents of a variable. The variable is declared
inline. "tcp-request connection" can set variables in the "proc" and "sess"
- set-src <expr>
- set-src-port <expr>
- set-tos <tos>
- - set-var(<var-name>[,<cond> ...]) <expr>
- - set-var-fmt(<var-name>[,<cond> ...]) <fmt>
+ - set-var(<var-name>[,<cond>...]) <expr>
+ - set-var-fmt(<var-name>[,<cond>...]) <fmt>
- silent-drop [ rst-ttl <ttl> ]
- switch-mode http [ proto <name> ]
- track-sc0 <key> [table <table>]
to the value passed in <tos> on platforms which support this. Please refer to
"http-request set-tos" for a complete description.
-tcp-request content set-var(<var-name>[,<cond> ...]) <expr> [ { if | unless } <condition> ]
-tcp-request content set-var-fmt(<var-name>[,<cond> ...]) <fmt> [ { if | unless } <condition> ]
+tcp-request content set-var(<var-name>[,<cond>...]) <expr> [ { if | unless } <condition> ]
+tcp-request content set-var-fmt(<var-name>[,<cond>...]) <fmt> [ { if | unless } <condition> ]
This is used to set the contents of a variable. The variable is declared
inline. Please refer to "http-request set-var" and "http-request set-var-fmt"
- set-src <expr>
- set-src-port <expr>
- set-tos <tos>
- - set-var(<var-name>[,<cond> ...]) <expr>
- - set-var-fmt(<var-name>[,<cond> ...]) <fmt>
+ - set-var(<var-name>[,<cond>...]) <expr>
+ - set-var-fmt(<var-name>[,<cond>...]) <fmt>
- silent-drop [ rst-ttl <ttl> ]
- track-sc0 <key> [table <table>]
- track-sc1 <key> [table <table>]
to the value passed in <tos> on platforms which support this. Please refer to
"http-request set-tos" for a complete description.
-tcp-request session set-var(<var-name>[,<cond> ...]) <expr> [ { if | unless } <condition> ]
-tcp-request session set-var-fmt(<var-name>[,<cond> ...]) <fmt> [ { if | unless } <condition> ]
+tcp-request session set-var(<var-name>[,<cond>...]) <expr> [ { if | unless } <condition> ]
+tcp-request session set-var-fmt(<var-name>[,<cond>...]) <fmt> [ { if | unless } <condition> ]
This is used to set the contents of a variable. The variable is declared
inline. Please refer to "http-request set-var" and "http-request set-var-fmt"
- set-mark <mark>
- set-nice <nice>
- set-tos <tos>
- - set-var(<var-name>[,<cond> ...]) <expr>
- - set-var-fmt(<var-name>[,<cond> ...]) <fmt>
+ - set-var(<var-name>[,<cond>...]) <expr>
+ - set-var-fmt(<var-name>[,<cond>...]) <fmt>
- silent-drop [ rst-ttl <ttl> ]
- unset-var(<var-name>)
to the value passed in <tos> on platforms which support this. Please refer to
"http-request set-tos" for a complete description.
-tcp-response content set-var(<var-name>[,<cond> ...]) <expr> [ { if | unless } <condition> ]
-tcp-response content set-var-fmt(<var-name>[,<cond> ...]) <fmt> [ { if | unless } <condition> ]
+tcp-response content set-var(<var-name>[,<cond>...]) <expr> [ { if | unless } <condition> ]
+tcp-response content set-var-fmt(<var-name>[,<cond>...]) <fmt> [ { if | unless } <condition> ]
This is used to set the contents of a variable. The variable is declared
inline. Please refer to "http-request set-var" and "http-request set-var-fmt"
# value, without leaking the contents using a timing attack.
acl token_given str(my_secret_token),secure_memcmp(txn.token)
-set-var(<var>[,<cond> ...])
+set-var(<var>[,<cond>...])
Sets a variable with the input content and returns the content on the output
as-is if all of the specified conditions are true (see below for a list of
possible conditions). The variable keeps the value and the associated input