Wez Furlong
1b8e8a8a54
employ a cache around the rustls client config
...
Since loading the system certificate store can be expensive,
we want to avoid doing it in a hot code path.
This commit introduces a small lru cache based on the relevant
fields of TlsOptions to cache the built client configuration
objects.
In the common case with the default settings, there will just
be a single cached config object that is shared by all sessions.
2024-10-21 08:15:29 -07:00
..
2024-10-15 06:04:53 -07:00
2024-10-15 06:04:53 -07:00
2024-10-15 06:04:53 -07:00
2024-10-15 06:04:53 -07:00
2024-10-17 09:46:59 -07:00
2024-10-17 09:46:59 -07:00
2024-10-15 06:04:53 -07:00
2024-10-15 06:04:53 -07:00
2024-10-15 06:04:53 -07:00
2024-10-15 06:04:53 -07:00
2024-10-15 06:04:53 -07:00
2024-03-11 07:50:01 -07:00
2024-10-15 06:04:53 -07:00
2024-09-24 06:31:21 -07:00
2024-10-15 06:04:53 -07:00
2024-09-24 06:31:21 -07:00
2024-09-24 06:31:21 -07:00
2024-10-04 15:38:30 -07:00
2024-10-17 09:46:59 -07:00
2024-10-21 07:57:43 -07:00
2024-04-19 09:11:51 -07:00
2024-07-09 16:34:37 -07:00
2024-10-17 09:46:59 -07:00
2024-10-17 09:46:59 -07:00
2024-10-15 06:04:53 -07:00
2023-08-17 10:49:25 -07:00
2024-10-15 08:54:24 -07:00
2023-08-17 10:49:25 -07:00
2024-09-24 06:31:21 -07:00
2024-10-15 06:04:53 -07:00
2024-10-15 06:04:53 -07:00
2024-10-15 06:04:53 -07:00
2024-10-15 06:04:53 -07:00
2024-06-21 17:20:04 -07:00
2024-06-26 11:08:15 -07:00
2024-07-09 16:50:48 -07:00
2024-06-21 17:20:04 -07:00
2024-07-09 13:25:32 -07:00
2024-10-17 09:46:59 -07:00
2024-09-16 18:20:03 -07:00
2024-10-15 06:04:53 -07:00
2024-10-21 08:15:29 -07:00
2024-10-15 06:04:53 -07:00
2024-10-09 11:00:34 -07:00
2024-10-17 09:46:59 -07:00
2024-10-17 09:46:59 -07:00
2024-08-15 18:32:52 -07:00
2024-09-02 10:42:15 -07:00
2024-07-03 14:59:52 -07:00
2024-10-15 06:04:53 -07:00
2024-10-15 06:04:53 -07:00
2024-09-24 06:31:21 -07:00
2024-10-02 10:22:15 -07:00
2024-10-02 10:22:15 -07:00
2024-02-24 09:38:59 -07:00