diff options
| author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2026-06-23 18:45:17 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-23 18:45:17 +0300 |
| commit | 105c2470df751f9bff280255506640e63204e3bb (patch) | |
| tree | 18e25c127bf66f6316e91cc8646718ff6f34a9a1 /interface-definitions | |
| parent | 4e74f21299c77a35115a61908a2c84e390e1f0d1 (diff) | |
| parent | 4f550fc5184f7d583f5976e801e9cae4d06e0cb6 (diff) | |
| download | vyos-1x-105c2470df751f9bff280255506640e63204e3bb.tar.gz vyos-1x-105c2470df751f9bff280255506640e63204e3bb.zip | |
Merge pull request #5226 from indrajitr/haproxy-websocket
haproxy: T8931: Improve WebSocket support for HAProxy
Diffstat (limited to 'interface-definitions')
| -rw-r--r-- | interface-definitions/include/haproxy/timeout-tunnel.xml.i | 14 | ||||
| -rw-r--r-- | interface-definitions/include/haproxy/timeout.xml.i | 1 | ||||
| -rw-r--r-- | interface-definitions/load-balancing_haproxy.xml.in | 10 |
3 files changed, 25 insertions, 0 deletions
diff --git a/interface-definitions/include/haproxy/timeout-tunnel.xml.i b/interface-definitions/include/haproxy/timeout-tunnel.xml.i new file mode 100644 index 000000000..ea6be1505 --- /dev/null +++ b/interface-definitions/include/haproxy/timeout-tunnel.xml.i @@ -0,0 +1,14 @@ +<!-- include start from haproxy/timeout-tunnel.xml.i --> +<leafNode name="tunnel"> + <properties> + <help>Set the maximum inactivity time on the client and server side for tunnels</help> + <valueHelp> + <format>u32:1-86400</format> + <description>Tunnel timeout in seconds</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-86400"/> + </constraint> + </properties> +</leafNode> +<!-- include end --> diff --git a/interface-definitions/include/haproxy/timeout.xml.i b/interface-definitions/include/haproxy/timeout.xml.i index a3a5a8a3e..a84e32001 100644 --- a/interface-definitions/include/haproxy/timeout.xml.i +++ b/interface-definitions/include/haproxy/timeout.xml.i @@ -7,6 +7,7 @@ #include <include/haproxy/timeout-check.xml.i> #include <include/haproxy/timeout-connect.xml.i> #include <include/haproxy/timeout-server.xml.i> + #include <include/haproxy/timeout-tunnel.xml.i> </children> </node> <!-- include end --> diff --git a/interface-definitions/load-balancing_haproxy.xml.in b/interface-definitions/load-balancing_haproxy.xml.in index f3baf86ca..8111d7506 100644 --- a/interface-definitions/load-balancing_haproxy.xml.in +++ b/interface-definitions/load-balancing_haproxy.xml.in @@ -225,6 +225,12 @@ </constraint> </properties> </leafNode> + <leafNode name="http-server-close"> + <properties> + <help>Enable HTTP/1.x connection closing on the server side</help> + <valueless/> + </properties> + </leafNode> #include <include/haproxy/rule-backend.xml.i> <tagNode name="server"> <properties> @@ -399,6 +405,10 @@ <leafNode name="server"> <defaultValue>50</defaultValue> </leafNode> + #include <include/haproxy/timeout-tunnel.xml.i> + <leafNode name="tunnel"> + <defaultValue>300</defaultValue> + </leafNode> </children> </node> #include <include/interface/vrf.xml.i> |
