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

Issue 255143002: Implement zero-copy SSL buffers. (Closed)

Created:
6 years, 7 months ago by haavardm
Modified:
6 years, 1 month ago
Reviewers:
wtc, agl, Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Implement zero-copy SSL buffers. Use OpenSSL's non-copying interface to avoid allocating new buffers for each read and write operation. BUG=169885

Patch Set 1 #

Total comments: 6

Patch Set 2 : New IOBuffer version to reference count BIO objects #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -8 lines) Patch
M net/socket/ssl_client_socket_openssl.cc View 1 5 chunks +66 lines, -8 lines 8 comments Download

Messages

Total messages: 13 (0 generated)
haavardm
Had a go at http://crbug.com/169885. Ryan please review. I did not implement changing the OpenSSL ...
6 years, 7 months ago (2014-04-29 12:50:21 UTC) #1
Ryan Sleevi
not LGTM, but I appreciate you taking this on! I've tried to capture the subtle ...
6 years, 7 months ago (2014-04-29 18:57:02 UTC) #2
haavardm
Thanks for reviewing and good comments. I knew it was a bit risky patch, so ...
6 years, 7 months ago (2014-04-29 20:52:56 UTC) #3
Ryan Sleevi
On 2014/04/29 20:52:56, haavardm wrote: > Thanks for reviewing and good comments. I knew it ...
6 years, 7 months ago (2014-04-30 01:34:23 UTC) #4
haavardm
I've created a new IOBuffer to keep the BIO buffer alive as long as the ...
6 years, 7 months ago (2014-04-30 14:10:17 UTC) #5
Ryan Sleevi
Promising! I need to dig into this a bit more, so don't feel rushed. What ...
6 years, 7 months ago (2014-04-30 21:33:31 UTC) #6
haavardm
Day off today but had a quick look anyway. I also think this is on ...
6 years, 7 months ago (2014-05-01 16:55:19 UTC) #7
Ryan Sleevi
Sorry for the delay in responding. https://codereview.chromium.org/255143002/diff/20001/net/socket/ssl_client_socket_openssl.cc File net/socket/ssl_client_socket_openssl.cc (right): https://codereview.chromium.org/255143002/diff/20001/net/socket/ssl_client_socket_openssl.cc#newcode1306 net/socket/ssl_client_socket_openssl.cc:1306: return 0; // ...
6 years, 7 months ago (2014-05-08 22:59:28 UTC) #8
haavardm
How about the OpenSSL? Are you getting more confident about the non-copy API? What I ...
6 years, 7 months ago (2014-05-09 07:23:41 UTC) #9
Ryan Sleevi
On 2014/05/09 07:23:41, haavardm wrote: > How about the OpenSSL? Are you getting more confident ...
6 years, 7 months ago (2014-05-09 22:20:34 UTC) #10
agl
NACK. This CL appears to be resting, but I'd like to note that BIO_nread is ...
6 years, 6 months ago (2014-06-09 18:00:44 UTC) #11
haavardm
On 2014/06/09 18:00:44, agl wrote: > NACK. > > This CL appears to be resting, ...
6 years, 6 months ago (2014-06-10 07:57:33 UTC) #12
agl
6 years, 6 months ago (2014-06-10 18:14:42 UTC) #13
On Tue, Jun 10, 2014 at 12:57 AM,  <haavardm@opera.com> wrote:
> What do you mean by "our OpenSSL". Is it removed in Chromium only?

We'll be trimming some bits from the OpenSSL in Chromium. I think
Sleevi will be emailing you about it, but had to sleep yesterday after
a long fight with WebCrypto.

> Yeah, I agree. Do you suggest to add a new zero copying API in Openssl?

In the future, that's probably a good idea.


Cheers

AGL

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698