Make SSLClientSessionCacheOpenSSL thread-safe.
Although the network stack is single-threaded, it *should* be legal to spin up a parallel instance of everything on another thread. Until https://crbug.com/458365 is resolved, the session cache is one of the few global mutable objects in the network stack, apart from test code. Thus it needs to be locked. BUG=476713 Review URL: https://codereview.chromium.org/1079943006 Cr-Commit-Position: refs/heads/master@{#325459}
Showing
Please register or sign in to comment