diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-08-01 11:01:52 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-08-03 17:43:29 +0200 |
commit | dd573ceea73295c7a872088ecd91e5f0fd74bf2b (patch) | |
tree | 50de6f5e8b3387837e1e2929e87becdece592112 /README | |
parent | 2eb2501d66d4f0d40e77aac6b0a15d5872f5848b (diff) | |
download | guix-dd573ceea73295c7a872088ecd91e5f0fd74bf2b.tar.gz |
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 'README')
0 files changed, 0 insertions, 0 deletions