Stop using h2 / http/2 on src.fedoraproject.org. For some reason it still hits a curl bug when

downloading sources for packages with tons of sources (texlive). Keep it enabled everywhere else
until we get any reports of issues.
This commit is contained in:
Kevin Fenzi 2018-06-20 21:39:25 +00:00
parent ccff12a22e
commit 2d997cd54b

View file

@ -32,8 +32,12 @@
{% endif %}
ServerAdmin {{ server_admin }}
{% if ansible_distribution == 'Fedora' %}
{% if ansible_distribution == 'Fedora' and not inventory_hostname.startswith(('proxy01.phx2','proxy10.phx2')) and site_name != 'src.fedoraproject.org' %}
Protocols h2 http/1.1
{% else %}
# For proxy01/10 and src.fedoraproject.org we only do http/1.1 because h2 hits a curl bug downloading sources
# For builds with tons of source files like texlive.
Protocols http/1.1
{% endif %}
{% if gzip %}