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

Abort connection attempt if IP address is 0 #1603

Open
MrCowKing opened this issue Sep 30, 2024 · 0 comments
Open

Abort connection attempt if IP address is 0 #1603

MrCowKing opened this issue Sep 30, 2024 · 0 comments

Comments

@MrCowKing
Copy link

I will use gfycat as an example here.

When performing a gallery download where multiple links can point to domains for dead services e.g. gfycat, this can dramatically increase the time to finish a gallery download. Normally, an easy solution to a program connecting to a dead service/URL is to add an entry to the hosts file or a local DNS caching service that points that URL to 0.0.0.0 (IPv4) or :: (IPv6). This should effectively tell the program that the domain name doesn't actually point anywhere and to abort the connection.

I figure this is an easier solution than writing something within Hydrus for a list of all the user entered URLs to blacklist connections to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants