diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-07-09 17:19:52 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-07-10 00:11:00 +0200 |
commit | 722ad41c44a499d2250c79527ef7d069ca728de0 (patch) | |
tree | 080ca3342804089890362b7fdf771c3b21f82513 /nix/libstore/globals.cc | |
parent | d283bb960f927dd5f7bb8b96bc697221e4e8ad39 (diff) | |
download | guix-722ad41c44a499d2250c79527ef7d069ca728de0.tar guix-722ad41c44a499d2250c79527ef7d069ca728de0.tar.gz |
swh: Allow callers to disable X.509 certificate verification.
* guix/swh.scm (%verify-swh-certificate?): New parameter.
(http-get*, http-post*): New procedures.
(request-rate-limit-reached?): Use 'http-post*' instead of 'http-post'.
(update-rate-limit-reset-time!): Likewise.
(request-cooking): Likewise.
(call): Method defaults to 'http-get*' instead of 'http-get'. Pass
#:verify-certificate? to METHOD.
(vault-fetch): Likewise.
Diffstat (limited to 'nix/libstore/globals.cc')
0 files changed, 0 insertions, 0 deletions