[Git][qa/jenkins.debian.net][master] jenkins.d.n: AddEncoding gzip .gz, such that the files aren't re-compressed as...

Holger Levsen (@holger) gitlab at salsa.debian.org
Fri Nov 17 10:11:01 GMT 2023



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
debcfa9b by наб at 2023-11-17T11:10:10+01:00
jenkins.d.n: AddEncoding gzip .gz, such that the files aren't re-compressed as gzip, which some clients can't deal with, and it's a waste of time

The current approach, under bookworm apache 2.4.57-2, returns:
  (no accept-encoding)    -> content-encoding: gzip       + raw gzipped file
  (accept-encoding: gzip) -> content-encoding: gzip, gzip + gzip(raw gzipped file)

This is valid, but on systems with ESET, or under lynx, opening
  https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/systemd-cron_2.3.0-1.rbuild.log.gz
would just return a garbled result: they match content-encoding
directly, instead of tokenising it.

The scary comment doesn't seem to apply to apache 2.4.57-2.

- - - - -


1 changed file:

- hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf


Changes:

=====================================
hosts/jenkins/etc/apache2/sites-available/jenkins.debian.net.conf
=====================================
@@ -87,9 +87,7 @@
 	</Directory>
 
 	<FilesMatch "\.gz$">
-		Header append Content-Encoding gzip
-		# this causes errors 406 to clients connecting without Accept-Encoding=gzip.
-		#AddEncoding gzip .gz
+		AddEncoding gzip .gz
 		ForceType text/plain
 	</FilesMatch>
 



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/debcfa9ba87b98fc0d0763b5f87c99a42970b5ba

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/debcfa9ba87b98fc0d0763b5f87c99a42970b5ba
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20231117/e977dbc1/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list