Repository navigation
Fix S3 not interruptting - #12227
Fix S3 not interruptting#12227RossComputerGuy wants to merge 1 commit into
Conversation
|
AFAIK Curl transfers are interruptible already.
IMHO this patch does not make S3 transfers interruptible because it can't interrupt running transfer. |
|
This PR didn't work for me, at least this command: still doesn't respond to Ctrl-C. Note that src/libstore/filetransfer.cc isn't involved in S3 transfers since aws-sdk-cpp uses libcurl directly. Since |
|
Yeah, I think the best option might actually be to implement an HTTP client using AWS's API for one and then we could throw some |
|
I have this code, which might fix the issue. But I cannot test it. It's not ready to be merged yet, e.g. aborting multipart uploads might also be possible with |
|
Apparently aws-cpp-sdk has a |
|
I've started overriding the |
ec286ca to
ee4d227
Compare
|
I pushed my current progress on it, still figuring out how |
ee4d227 to
bb6c7d4
Compare
Looks like this works. |
|
It seems it gets stuck pulling. I'm not sure if that is intended. Also does this: |
|
Looks like it should give up and go to using |
|
stale |
Motivation
Fixes #11678
Context
This is my attempt to try and get S3 transfers to interrupt properly. The only problem now is retrying doesn't interrupt but it seems the retry strategy doesn't work if you don't already have a connection.
Add 👍 to pull requests you find important.
The Nix maintainer team uses a GitHub project board to schedule and track reviews.