Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Add an option to retry invalid link #175

Open
trixprod opened this issue Nov 28, 2024 · 2 comments
Open

[Feature request] Add an option to retry invalid link #175

trixprod opened this issue Nov 28, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@trixprod
Copy link

Hello,

Occasionally, when the network connection is poor, httpdirfs fails to retrieve metadata from a remote file.
As a result, the file is marked as "Invalid link," and no further action is taken.

It would be great to have an option for a lazy retry mechanism—where the system automatically retries at regular intervals (e.g., every 1 minute) to resolve the invalid link.

Thank you.

@fangfufu fangfufu added the enhancement New feature or request label Dec 1, 2024
@fangfufu
Copy link
Owner

fangfufu commented Dec 1, 2024

This is not a bad idea, feel free to contribute a pull request or something.

@fangfufu
Copy link
Owner

fangfufu commented Dec 7, 2024

Relevant error:

Warning:../src/link.c:1053:Link_download_cleanup: Could not download http://localhost:10002/TEST_ISO_ARCH_124.iso, HTTP 302
Error:../src/link.c:1096:Link_download: req_size != recv, req_size: 8388608, recv: -2
Error:../src/cache.c:1113:Cache_read: thread ffff6c0 received -2 bytes, which doesn't make sense
Error:../src/cache.c:1127:Cache_read: received -2 rather than 8388608, possible network error.
double free or corruption (!prev)

#174 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants