Commit 3de9a59 pushed an update to GnuTLS 3.2.19, which brings the new
‘set-server-name!’ procedure.
Ludo’.
Commit 077bd18 fixes it, using the ‘set-session-server-name!’ procedure
introduced in GnuTLS commit e9fc746:
https://gitorious.org/gnutls/gnutls/commit/e9fc74641dae2747b98bc9f79afc041805819339
It should be in the next GnuTLS release.
Ludo’.
The culprit is that our client would not support the TLS ‘SERVER NAME’
extension, unlike the wget and gnutls-cli (this is enabled simply by
calling ‘gnutls_server_name_set’.) Here’s a proof-of-concept
workaround:
diff --git a/guix/build/download.scm b/guix/build/download.scm
index d98933a..b44302
>From guix-devel.
--- Begin Message ---
Mark H Weaver skribis:
> Here's what happens:
>
> $ guix download https://github.com/downloads/magit/magit/magit-1.2.0.tar.gz
> starting download of `guix-file.cszPnB' from
> `https://github.com/downloads/magit/magit/magit-1.2.0.tar.gz'...
> following red