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

Redirects should be custom handled to avoid http to https issues with curl fallback #2082

Closed
Taloth opened this issue Jul 31, 2017 · 0 comments

Comments

@Taloth
Copy link
Member

Taloth commented Jul 31, 2017

nzbHydra redirects nzb downloads to the actual indexer, if the indexer is https and requires the curl fallback due to tls1.2. But the curl fallback isn't used coz it's originally a http url, the redirection gets handled internally by WebClient.

Since btls isn't yet reliably available we can't ditch curl, so we should disable the AutoRedirect in WebClient and do it ourselves so we can dispatch it again via the whole stack that makes the curl fallback decision.

For nzbHydra the workaround is to set nzb access type configuration to proxy mode.

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

No branches or pull requests

1 participant