summaryrefslogtreecommitdiff
path: root/test/pinning-overlay1.repo
diff options
context:
space:
mode:
authorMartin Vahlensieck <git@academicsolutions.ch>2021-03-12 17:08:15 +0100
committerTimo Teräs <timo.teras@iki.fi>2021-03-13 12:53:20 +0200
commit8e993fe969fc43f027b39b27b84142fe1ec0dd1a (patch)
tree82f8f4a4f0857065bc12856dbda88ac0206a4e9c /test/pinning-overlay1.repo
parent361eb063c6bd97751f48e10908e6beaa383ad82f (diff)
downloadapk-tools-8e993fe969fc43f027b39b27b84142fe1ec0dd1a.tar.gz
apk-tools-8e993fe969fc43f027b39b27b84142fe1ec0dd1a.tar.bz2
apk-tools-8e993fe969fc43f027b39b27b84142fe1ec0dd1a.tar.xz
apk-tools-8e993fe969fc43f027b39b27b84142fe1ec0dd1a.zip
Use correct port when redirected
If server redirects from http to https, libfetch detects this, but wrongly uses the old url scheme to determine the port. This subsequently leads to the following OpenSSL error: 139741541575496:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:ssl/record/ssl3_record.c:331: Using the new scheme fixes this. This error message comes from trying to connect to port 80 with TLS, it can also be observed by issuing $ openssl s_client -connect alpinelinux.org:80 This bug was introduced in commit: 7158474 libfetch: keep http auth only if redirect is for the same host
Diffstat (limited to 'test/pinning-overlay1.repo')
0 files changed, 0 insertions, 0 deletions