summaryrefslogtreecommitdiff
path: root/interface-definitions/include/haproxy
diff options
context:
space:
mode:
authorWindom WU <drw_08@hotmail.com>2024-04-23 14:39:02 +0800
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-04-23 07:30:11 +0000
commitff1636643bcd8b11b8538f998e7ba1188e9d3964 (patch)
treeb5bbf4acb5a91436290de43e13756e95f2906547 /interface-definitions/include/haproxy
parent48461a9693568b1ca7ca4422130504cceed4ea28 (diff)
downloadvyos-1x-ff1636643bcd8b11b8538f998e7ba1188e9d3964.tar.gz
vyos-1x-ff1636643bcd8b11b8538f998e7ba1188e9d3964.zip
T6226: add HAPROXY tcp-request related block to load-balancing reverse proxy config
(cherry picked from commit 984c386d11ead8371b7ac381e6c0921473e557ed)
Diffstat (limited to 'interface-definitions/include/haproxy')
-rw-r--r--interface-definitions/include/haproxy/tcp-request.xml.i22
1 files changed, 22 insertions, 0 deletions
diff --git a/interface-definitions/include/haproxy/tcp-request.xml.i b/interface-definitions/include/haproxy/tcp-request.xml.i
new file mode 100644
index 000000000..3d60bd8ad
--- /dev/null
+++ b/interface-definitions/include/haproxy/tcp-request.xml.i
@@ -0,0 +1,22 @@
+<!-- include start from haproxy/tcp-request.xml.i -->
+<node name="tcp-request">
+ <properties>
+ <help>TCP request directive</help>
+ </properties>
+ <children>
+ <leafNode name="inspect-delay">
+ <properties>
+ <help>Set the maximum allowed time to wait for data during content inspection</help>
+ <valueHelp>
+ <format>u32:1-65535</format>
+ <description>The timeout value specified in milliseconds</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ <constraintErrorMessage>The timeout value must be in range 1 to 65535 milliseconds</constraintErrorMessage>
+ </properties>
+ </leafNode>
+ </children>
+</node>
+<!-- include end -->