Skip to content
Snippets Groups Projects
Commit c622c582 authored by Andrea Sosso's avatar Andrea Sosso
Browse files

a 'tcp-request' rule placed after an 'http-request' rule will still be processed before

parent 662b936b
Branches
Tags
No related merge requests found
......@@ -51,16 +51,6 @@ frontend {{ frontend.name }}
capture {{ capture.type }} {{ capture.name }} len {{ capture.length }}
{% endfor %}
{% for http_request in frontend.http_request | default([]) %}
http-request {{ http_request.action }}{% if http_request.param is defined %} {{ http_request.param }}{% endif %}{% if http_request.cond is defined %} {{ http_request.cond }}{% endif %}
{% endfor %}
{% for http_response in frontend.http_response | default([]) %}
http-response {{ http_response.action }}{% if http_response.param is defined %} {{ http_response.param }}{% endif %}{% if http_response.cond is defined %} {{ http_response.cond }}{% endif %}
{% endfor %}
{% for tcp_request_inspect_delay in frontend.tcp_request_inspect_delay | default([]) %}
tcp-request inspect-delay {{ tcp_request_inspect_delay.timeout }}
......@@ -81,6 +71,16 @@ frontend {{ frontend.name }}
{% endfor %}
{% for http_request in frontend.http_request | default([]) %}
http-request {{ http_request.action }}{% if http_request.param is defined %} {{ http_request.param }}{% endif %}{% if http_request.cond is defined %} {{ http_request.cond }}{% endif %}
{% endfor %}
{% for http_response in frontend.http_response | default([]) %}
http-response {{ http_response.action }}{% if http_response.param is defined %} {{ http_response.param }}{% endif %}{% if http_response.cond is defined %} {{ http_response.cond }}{% endif %}
{% endfor %}
{% for action in ['reqadd', 'rspadd'] %}
{% for params in frontend[action] | default([]) %}
{{ action }} {{ params.string }}{% if params.cond is defined %} {{ params.cond }}{% endif %}
......
......@@ -84,11 +84,6 @@ listen {{ listen.name }}
{% endif %}
{% endif %}
{% for http_request in listen.http_request | default([]) %}
http-request {{ http_request.action }}{% if http_request.param is defined %} {{ http_request.param }}{% endif %}{% if http_request.cond is defined %} {{ http_request.cond }}{% endif %}
{% endfor %}
{% for tcp_request_inspect_delay in listen.tcp_request_inspect_delay | default([]) %}
tcp-request inspect-delay {{ tcp_request_inspect_delay.timeout }}
......@@ -109,6 +104,11 @@ listen {{ listen.name }}
{% endfor %}
{% for http_request in listen.http_request | default([]) %}
http-request {{ http_request.action }}{% if http_request.param is defined %} {{ http_request.param }}{% endif %}{% if http_request.cond is defined %} {{ http_request.cond }}{% endif %}
{% endfor %}
{% for http_response in listen.http_response | default([]) %}
http-response {{ http_response.action }}{% if http_response.param is defined %} {{ http_response.param }}{% endif %}{% if http_response.cond is defined %} {{ http_response.cond }}{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment