Hope that curl fixed their GOAWAY HTTP/2 bug

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2019-02-25 16:47:13 +01:00
parent bce3078d14
commit bf6be45d70

View file

@ -42,11 +42,10 @@
RequestHeader unset X-Forwarded-For RequestHeader unset X-Forwarded-For
{% if ansible_distribution == 'Fedora' and not inventory_hostname.startswith(('proxy01.phx2','proxy10.phx2')) and use_h2 %} {% if ansible_distribution == 'Fedora' and use_h2 %}
Protocols h2 http/1.1 Protocols h2 http/1.1
{% elif ansible_distribution == 'Fedora' %} {% elif ansible_distribution == 'Fedora' %}
# For proxy01/10 and src.fedoraproject.org we only do http/1.1 because h2 hits a curl bug downloading sources # For this website, no h2 available
# For builds with tons of source files like texlive.
Protocols http/1.1 Protocols http/1.1
{% else %} {% else %}
# RHEL7 does not use Protocols # RHEL7 does not use Protocols