Commit d74799d
crypto: load system CA certificates off thread
When --use-system-ca is enabled, load the system CA certificates
eagerly off the main thread to avoid blocking the main thread
when the first TLS connection is made.
PR-URL: #59550
Refs: #58990
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 18ceefb commit d74799dCopy full SHA for d74799d
File tree
Expand file treeCollapse file tree
3 files changed
+36
-0
lines changedOpen diff view settings
Filter options
- src
- crypto
Expand file treeCollapse file tree
3 files changed
+36
-0
lines changedOpen diff view settings
Collapse file
src/crypto/crypto_context.cc
Copy file name to clipboardExpand all lines: src/crypto/crypto_context.cc+21Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
812 | 812 | |
813 | 813 | |
814 | 814 | |
| 815 | + |
| 816 | + |
| 817 | + |
| 818 | + |
| 819 | + |
| 820 | + |
| 821 | + |
| 822 | + |
| 823 | + |
| 824 | + |
| 825 | + |
| 826 | + |
| 827 | + |
| 828 | + |
| 829 | + |
| 830 | + |
| 831 | + |
815 | 832 | |
816 | 833 | |
817 | 834 | |
| ||
923 | 940 | |
924 | 941 | |
925 | 942 | |
| 943 | + |
| 944 | + |
| 945 | + |
| 946 | + |
926 | 947 | |
927 | 948 | |
928 | 949 | |
|
Collapse file
+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
62 | 62 | |
63 | 63 | |
64 | 64 | |
| 65 | + |
65 | 66 | |
66 | 67 | |
67 | 68 | |
|
Collapse file
+14Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1245 | 1245 | |
1246 | 1246 | |
1247 | 1247 | |
| 1248 | + |
| 1249 | + |
| 1250 | + |
| 1251 | + |
| 1252 | + |
| 1253 | + |
| 1254 | + |
| 1255 | + |
| 1256 | + |
| 1257 | + |
| 1258 | + |
| 1259 | + |
| 1260 | + |
| 1261 | + |
1248 | 1262 | |
1249 | 1263 | |
1250 | 1264 | |
|
0 commit comments