Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Issue 2682413003: Add a CRYPTO_BUFFER_POOL to SSLClientSocketImpl. (Closed)

Created:
3 years, 10 months ago by davidben
Modified:
3 years, 10 months ago
Reviewers:
svaldez
CC:
chromium-reviews, cbentzel+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a CRYPTO_BUFFER_POOL to SSLClientSocketImpl. In anticipation of using it for net::X509Certificate in the future, the pool lives somewhere in net/cert. Until the rest of the work to remove switch to CRYPTO_BUFFERs done, this will not be as effective as it could be. But, as part of that transition, we have already started using CRYPTO_BUFFERs in parts of the stack. This allows that portion to be deduplicated. The (more expensive) portion which isn't deduplicated will be fixed by removing it altogether. BUG=671420 Review-Url: https://codereview.chromium.org/2682413003 Cr-Commit-Position: refs/heads/master@{#449732} Committed: https://chromium.googlesource.com/chromium/src/+/bf0fcf111ceab0a9143d75282ced0d4349670e61

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -0 lines) Patch
M net/cert/x509_util_openssl.h View 1 chunk +3 lines, -0 lines 0 comments Download
M net/cert/x509_util_openssl.cc View 3 chunks +18 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket_impl.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
davidben
3 years, 10 months ago (2017-02-10 19:51:01 UTC) #4
svaldez
lgtm
3 years, 10 months ago (2017-02-10 19:52:39 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2682413003/1
3 years, 10 months ago (2017-02-10 19:53:57 UTC) #8
xunjieli
This should have at least 200KiB improvement (see allocation under CRYPTO_BUFFER_new) for every ~50 sockets. ...
3 years, 10 months ago (2017-02-10 20:46:24 UTC) #9
davidben
On 2017/02/10 20:46:24, xunjieli wrote: > This should have at least 200KiB improvement (see allocation ...
3 years, 10 months ago (2017-02-10 21:00:40 UTC) #11
commit-bot: I haz the power
3 years, 10 months ago (2017-02-10 21:01:16 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/bf0fcf111ceab0a9143d75282ced...

Powered by Google App Engine
This is Rietveld 408576698