mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 18:41:38 +08:00
Hope that curl fixed their GOAWAY HTTP/2 bug
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
@@ -42,11 +42,10 @@
|
||||
|
||||
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
|
||||
{% 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 builds with tons of source files like texlive.
|
||||
# For this website, no h2 available
|
||||
Protocols http/1.1
|
||||
{% else %}
|
||||
# RHEL7 does not use Protocols
|
||||
|
||||
Reference in New Issue
Block a user