Ensure http-reuse only applies to http backend

This commit is contained in:
andrewheberle
2018-09-13 06:54:12 +08:00
committed by GitHub
parent dbda23717b
commit 616e413666
@@ -1032,7 +1032,7 @@ backend {{backend.name}}
{{customOpt}}
{% endfor %}
{% endif %}
{% if backend.tuning_httpreuse|default("") != "" %}
{% if backend.tuning_httpreuse|default("") != "" and backend.mode == "http" %}
http-reuse {{backend.tuning_httpreuse}}
{% endif %}
{% if backend.tuning_defaultserver|default("") != "" %}