aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-08-01 11:01:52 +0200
committerLudovic Courtès <ludo@gnu.org>2022-08-03 17:43:29 +0200
commitdd573ceea73295c7a872088ecd91e5f0fd74bf2b (patch)
tree50de6f5e8b3387837e1e2929e87becdece592112 /scripts
parent2eb2501d66d4f0d40e77aac6b0a15d5872f5848b (diff)
downloadguix-dd573ceea73295c7a872088ecd91e5f0fd74bf2b.tar.gz
guix-dd573ceea73295c7a872088ecd91e5f0fd74bf2b.zip
download: Do not wrap TLS port on GnuTLS >= 3.7.7.
The custom input/output port wrapping the TLS session record port would introduce overhead, and it would also prevent its uses in a non-blocking context--e.g., with Fibers. The port close mechanism added in GnuTLS 3.7.7 allows us to get rid of that wrapper. * guix/build/download.scm (wrap-record-port-for-gnutls<3.7.7): New procedure, with code formerly in 'tls-wrap'. (tls-wrap): Check for 'set-session-record-port-close!' and use it when available; otherwise call 'wrap-record-port-for-gnutls<3.7.7'.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions