From 2d997cd54b1e50f5e163e0fa707ebeecb4226b8d Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 20 Jun 2018 21:39:25 +0000 Subject: [PATCH] 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. --- roles/httpd/website/templates/website.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/roles/httpd/website/templates/website.conf b/roles/httpd/website/templates/website.conf index 061c6291b3..5a4c55933e 100644 --- a/roles/httpd/website/templates/website.conf +++ b/roles/httpd/website/templates/website.conf @@ -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 %}