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

handle failures on proxy resolve connections #773

Merged
merged 2 commits into from
Dec 22, 2023

Conversation

ekoby
Copy link
Member

@ekoby ekoby commented Dec 21, 2023

No description provided.

@ekoby ekoby requested a review from a team as a code owner December 21, 2023 22:57
@@ -588,16 +587,17 @@ static void on_proxy_connect(ziti_connection conn, int status) {
dns_domain_t *domain = ziti_conn_data(conn);
if (status == ZITI_OK) {
ZITI_LOG(INFO, "proxy resolve connection established for domain[%s]", domain->name);
domain->resolv_proxy = conn;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this value ever be different than the one assigned on line 636?

return;
}

ziti_close(domain->resolv_proxy, NULL);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

log here?

@ekoby ekoby merged commit b83050b into main Dec 22, 2023
9 checks passed
@ekoby ekoby deleted the handle-failure-to-connect-proxy-resolve branch December 22, 2023 13:28
@scareything
Copy link
Member

fixes #775

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.

2 participants