-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid sqlite database lookup on EVERY https network request
Whenever a https network request is created, QgsAuthManager::sslCertCustomConfigByHost is used to alter the ssl configuration according to config stored within the sqlite authentication database. This results in a database query being created for EVERY request, regardless of whether a user actually has any ssl configuration set. Instead, use a cache to avoid firing off this db query for every request
- Loading branch information
1 parent
d106406
commit 2e0d67a
Showing
2 changed files
with
47 additions
and
3 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