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

Fix the C++ client example to start listening for certificateProvider events before the NaCl module is loaded #37

Closed
emaxx-google opened this issue Aug 25, 2016 · 0 comments

Comments

@emaxx-google
Copy link
Collaborator

Currently, the provided C++ client example implementation starts listening for chrome.certificateProvider events only after the NaCl module has been loaded.

As the loading of the NaCl module may take a considerable time (several seconds or even dozens of seconds), this means that user may not be able to start opening HTTPS-with-client-auth websites for quite some time (all such attempts would finish in HTTPS error in Chrome).

So this should be improved, by setting up the required listeners straight at the app startup code. The requests, that come before the NaCl module has finished loading, should be stored somewhere and delayed.

/cc @dskaram

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

1 participant