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

PDC: add operation canceled error handler to socks proxy dialer #1056

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

dafydd-t
Copy link
Contributor

What this PR does / why we need it:

We're getting socks_unknown_errors for errors ending in operation was canceled, even though we know these are closed due to sockets being closed or context canceled. Handle this as a context_canceled error.

Which issue(s) this PR fixes:

Fixes https://github.com/grafana/hosted-grafana/issues/5759

Special notes for your reviewer:

@dafydd-t dafydd-t requested a review from a team as a code owner August 21, 2024 14:18
@dafydd-t dafydd-t requested review from wbrowne, andresmgot and oshirohugo and removed request for a team August 21, 2024 14:18
@dafydd-t dafydd-t merged commit 7470982 into main Aug 22, 2024
3 checks passed
@dafydd-t dafydd-t deleted the hg-5759 branch August 22, 2024 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants