-
Notifications
You must be signed in to change notification settings - Fork 510
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FABG-911] PKCS11 context resilience for errors
- current logic validates session handles returned from pool or the ones opened recently. this recovery logic kicks in if open session fails with error in case of any technical or connectivity issues - after this fix, context handle will not cause panic if recovery attempts are exhausted, instead it will throw error so that recovery can be retried periodically or later once systems are available. Change-Id: Ie90914bb4c9011a66cebc705039f05c476b6a5c9 Signed-off-by: sudesh.shetty <sudesh.shetty@securekey.com>
- Loading branch information
1 parent
5d7ae7a
commit 4a6db41
Showing
2 changed files
with
208 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters