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

initCallback is not called when first Ziti event is received #201

Closed
scareything opened this issue Oct 18, 2023 · 0 comments · Fixed by #202
Closed

initCallback is not called when first Ziti event is received #201

scareything opened this issue Oct 18, 2023 · 0 comments · Fixed by #202

Comments

@scareything
Copy link
Member

The CZiti class was using the state of its ziti_context property as a breadcrumb that was set when the first Ziti event was received. Recent changes in the initialization sequence for ziti-sdk-c resulted in the ziti_context being initialized before connecting to the controller, which meant that its state could not be used to determine if the first Ziti event was being processed.

Instead of using the ziti_context, simply add a boolean property to record when the first event is processed.

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 a pull request may close this issue.

1 participant