aboutsummaryrefslogtreecommitdiff
path: root/package.nix
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-04-22 23:21:13 +0200
committereldritch horrors <pennae@lix.systems>2024-04-23 01:04:56 +0000
commit86bfede948db03181cdf2989ee33b96905366f1b (patch)
tree4f35040eb5783f27858508b4837673f9b8546777 /package.nix
parent257d7ffa7b3d1f12e76895231d79acbc2d7a696d (diff)
libstore: use curl functions for reading headers
don't reimplement header parsing. this was only really needed due to the ancient github bug we no longer care about, everything else we have done in custom code can also be done using curl itself. doing this also fixes possible sources of header smuggling (because the header function didn't unfold headers and we'd trim them before parsing, which would've made us read contents of one header as a fully formed header in itself). this is a slight behavior change because we now honor only the first instance of a given header where previous behavior was to honor either the last or a combination of all of them (accept-ranges was logical-or'd by accident). Change-Id: I93cb93ddb91ab98c8991f846014926f6ef039fdb
Diffstat (limited to 'package.nix')
0 files changed, 0 insertions, 0 deletions