modernize curl usage #246
Labels
No labels
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/store
bug
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
RFD
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
ux
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#246
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
there's a bunch of ancient curl stuff that needs changed:
curl_multi_wait
instead ofcurl_multi_poll
(https://gerrit.lix.systems/c/lix/+/854)maybe drop the curl_multi pretense and do curl_share in threads?(nope, won't share connections between threads)We probably want to replace any of the existing S3 support with CURLOPT_AWS_SIGV4 - sending a
PUT
to an S3 endpoint with the encryption flags set is (iirc?) exactly what Nix does already.Curl 7.75.0 has been released since February of 2021, which should be more than modern enough.
(It'd be nice if the HTTP binary cache stuff would also let us set authorization headers more arbitrarily; for e.g. Basic auth support.)