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

Issue 255074: Make SSLClientSocketNSS full-duplex (Closed)

Created:
11 years, 2 months ago by ukai
Modified:
9 years, 7 months ago
Reviewers:
Mike Belshe, wtc, dank
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Make SSLClientSocketNSS full-duplex BUG=13289, 12497 TEST=visit https site and works as before.

Patch Set 1 #

Total comments: 20

Patch Set 2 : Fix mbelshe's comment #

Total comments: 42

Patch Set 3 : update #

Total comments: 25

Patch Set 4 : Add DoTransportIO() #

Total comments: 20

Patch Set 5 : fix wtc comment #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+238 lines, -99 lines) Patch
M net/socket/ssl_client_socket_nss.h View 1 2 3 3 chunks +24 lines, -13 lines 0 comments Download
M net/socket/ssl_client_socket_nss.cc View 1 2 3 4 18 chunks +214 lines, -86 lines 2 comments Download

Messages

Total messages: 10 (0 generated)
ukai
I didn't noticed mbelshe's CL, so I might need to catch up the mbelshe's CL...
11 years, 2 months ago (2009-10-05 07:44:49 UTC) #1
Mike Belshe
A first set of comments. Not sure if the windows changes have much relevance - ...
11 years, 2 months ago (2009-10-05 17:23:55 UTC) #2
ukai
Thanks for review! http://codereview.chromium.org/255074/diff/1/2 File net/socket/ssl_client_socket_nss.cc (right): http://codereview.chromium.org/255074/diff/1/2#newcode196 Line 196: io_callback_(this, &SSLClientSocketNSS::OnIOComplete), On 2009/10/05 17:23:55, ...
11 years, 2 months ago (2009-10-06 10:01:07 UTC) #3
wtc
Hi Fumitoshi, This CL is quite tricky. Please review the comments below and make as ...
11 years, 2 months ago (2009-10-06 21:08:11 UTC) #4
ukai
Thanks for review. I changed a lot of code, especially factoring out DoReadLoop and DoWriteLoop. ...
11 years, 2 months ago (2009-10-07 12:25:20 UTC) #5
wtc
LGTM. http://codereview.chromium.org/255074/diff/6001/6002 File net/socket/ssl_client_socket_nss.cc (right): http://codereview.chromium.org/255074/diff/6001/6002#newcode89 Line 89: "; next_state " << next_handshake_state_ I wonder ...
11 years, 2 months ago (2009-10-08 22:55:30 UTC) #6
ukai
Thanks for review! http://codereview.chromium.org/255074/diff/6001/6002 File net/socket/ssl_client_socket_nss.cc (right): http://codereview.chromium.org/255074/diff/6001/6002#newcode89 Line 89: "; next_state " << next_handshake_state_ ...
11 years, 2 months ago (2009-10-09 10:58:26 UTC) #7
wtc
LGTM. Please check this in after making as many suggested changes as possible. It'll be ...
11 years, 2 months ago (2009-10-12 21:04:16 UTC) #8
ukai
Thanks for review. http://codereview.chromium.org/255074/diff/10001/8002 File net/socket/ssl_client_socket_nss.cc (right): http://codereview.chromium.org/255074/diff/10001/8002#newcode553 Line 553: DCHECK(user_connect_callback_); On 2009/10/12 21:04:16, wtc ...
11 years, 2 months ago (2009-10-13 04:40:14 UTC) #9
wtc
11 years, 2 months ago (2009-10-14 01:54:15 UTC) #10
LGTM.  Thanks!  Just two style nits.

http://codereview.chromium.org/255074/diff/6005/14001
File net/socket/ssl_client_socket_nss.cc (right):

http://codereview.chromium.org/255074/diff/6005/14001#newcode422
Line 422: if (rv == ERR_IO_PENDING)
Please add braces {} to "if" when "else" has braces.

http://codereview.chromium.org/255074/diff/6005/14001#newcode448
Line 448: user_write_callback_ = callback;
Same here: both "if" and "else" should have braces {}.

Powered by Google App Engine
This is Rietveld 408576698