1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-19 00:39:37 +01:00

Add ability to POST to FileTransfer

Plus, switched CURLOPT_PROGRESSFUNCTION to CURLOPT_XFERINFOFUNCTION since docs say it's deprecated
This commit is contained in:
Leandro Reina 2025-01-10 16:11:44 +01:00
parent 7756b2286d
commit 4c42b1c7cb
2 changed files with 23 additions and 5 deletions

View file

@ -64,6 +64,7 @@ struct FileTransferRequest
std::string expectedETag;
bool verifyTLS = true;
bool head = false;
bool post = false;
size_t tries = fileTransferSettings.tries;
unsigned int baseRetryTimeMs = 250;
ActivityId parentAct;