diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-10-05 10:44:31 +1100 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-10-05 10:44:31 +1100 |
commit | 89d36713e360ff5797f67e9b89d14db81da3bc25 (patch) | |
tree | e99ca35a61cd95ddf78c51cc675ef1d5cebed7e0 /test/netlib/websockets/test_frame.py | |
parent | 6d343c7ca352b41e1a07e8a3001b36667ac8f5f8 (diff) | |
download | mitmproxy-89d36713e360ff5797f67e9b89d14db81da3bc25.tar.gz mitmproxy-89d36713e360ff5797f67e9b89d14db81da3bc25.tar.bz2 mitmproxy-89d36713e360ff5797f67e9b89d14db81da3bc25.zip |
certutils: cap the cert store size at 100 by default
This should be enough to give us reuse without growing infinitely. This is part
of fixing the memory situation in mitmdump.
TODO: There's an opportunity here for a better algorithm, that expires certs
based on least-recently-accessed time, rather than oldest generated time.
Diffstat (limited to 'test/netlib/websockets/test_frame.py')
0 files changed, 0 insertions, 0 deletions