Justin Uberti
1d44550ddc
Implementation of SSL caching; tests in separate CL.
...
This CL adds the ability for a SSLAdapter to resume a previous session, saving a roundtrip and significantly reducing the # of bytes needed to bring up the new session.
To do this, the sessions need to share state. This is addressed by introducing the SSLAdapterFactory object, which can maintain a SSL_CTX and session cache for multiple sessions.
This CL does not have unit tests in order to minimize the change size (i.e., to reduce the size of the CP). CL https://chromium-review.googlesource.com/c/558612 builds on this CL and adds tests, but makes some nontrivial changes to SSLStreamAdapter in order to get the test server to share a SSL_CTX across sessions.
Bug: 7936
Change-Id: I677b73453d981d5b3a2e66ea9a5be722acd59475
Reviewed-on: https://chromium-review.googlesource.com/575910
Commit-Queue: Justin Uberti <juberti@webrtc.org>
Reviewed-by: Emad Omara <emadomara@webrtc.org>
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Reviewed-by: Peter Thatcher <pthatcher@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19342}
2017-08-15 00:37:05 +00:00
..
2017-07-07 10:09:51 +00:00
2017-06-30 17:45:21 +00:00
2017-07-07 10:09:51 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-08-09 00:59:47 +00:00
2017-08-09 00:59:47 +00:00
2017-08-09 00:59:47 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-07-19 17:40:47 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-07-19 17:40:47 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-07-14 21:44:46 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-29 06:04:25 +00:00
2017-06-29 06:04:25 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-07-07 18:02:15 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-29 06:04:25 +00:00
2017-07-10 10:00:30 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-07-07 10:09:51 +00:00
2017-07-14 21:44:46 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-08-10 00:22:01 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-07-14 21:44:46 +00:00
2017-07-11 23:56:05 +00:00
2017-07-11 23:56:05 +00:00
2017-07-26 14:48:15 +00:00
2017-07-26 14:48:15 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-07-11 23:56:05 +00:00
2017-07-11 23:56:05 +00:00
2017-07-27 22:05:29 +00:00
2017-07-27 22:05:29 +00:00
2017-07-26 23:09:33 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-07-14 21:44:46 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-08-15 00:37:05 +00:00
2017-08-15 00:37:05 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-08-10 00:22:01 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-07-14 21:44:46 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-08-10 00:22:01 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-07-14 21:44:46 +00:00
2017-08-08 17:48:15 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-07-19 17:40:47 +00:00
2017-07-19 17:40:47 +00:00
2017-07-19 17:40:47 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-07-19 17:40:47 +00:00
2017-07-14 21:44:46 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-08-10 00:22:01 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-08-15 00:37:05 +00:00
2017-08-15 00:37:05 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-08-08 17:48:15 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-07-14 21:44:46 +00:00
2017-06-30 17:45:21 +00:00
2017-07-07 10:09:51 +00:00
2017-08-09 00:59:47 +00:00
2017-07-14 21:44:46 +00:00
2017-07-14 21:44:46 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-07-14 21:44:46 +00:00
2017-06-30 17:45:21 +00:00
2017-07-14 22:26:05 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-08-04 22:01:57 +00:00
2017-08-04 22:01:57 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-29 06:04:25 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00
2017-06-30 17:45:21 +00:00