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

Issue 13502004: Add the ability to secure an already established raw socket connection (Closed)

Created:
7 years, 8 months ago by Søren Gjesse
Modified:
7 years, 7 months ago
Reviewers:
Mads Ager (google)
CC:
reviews_dartlang.org, Bill Hesse
Visibility:
Public.

Description

Add the ability to secure an already established raw socket connection The static methods secure and secureServer can be used to start TLS handshake as eihter client or server. This CL only implement the securing of RawSocket. This also changes the semantics of cancelling a subscription on a RawSocket from closing the socket to just pausing. R=ager@google.com BUG=https://code.google.com/p/dart/issues/detail?id=8789 Committed: https://code.google.com/p/dart/source/detail?r=21719

Patch Set 1 #

Patch Set 2 : Removed debug print #

Total comments: 8

Patch Set 3 : Changed API to pass subscription if already subscribed #

Total comments: 2

Patch Set 4 : Addressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+437 lines, -90 lines) Patch
M runtime/bin/socket_patch.dart View 1 2 5 chunks +9 lines, -0 lines 0 comments Download
M sdk/lib/io/secure_socket.dart View 1 2 3 9 chunks +119 lines, -10 lines 0 comments Download
M sdk/lib/io/socket.dart View 2 chunks +22 lines, -1 line 0 comments Download
M tests/standalone/io/raw_secure_server_socket_test.dart View 1 2 4 chunks +287 lines, -79 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Søren Gjesse
7 years, 8 months ago (2013-04-03 14:49:18 UTC) #1
Mads Ager (google)
LGTM https://codereview.chromium.org/13502004/diff/2001/runtime/bin/socket_patch.dart File runtime/bin/socket_patch.dart (right): https://codereview.chromium.org/13502004/diff/2001/runtime/bin/socket_patch.dart#newcode613 runtime/bin/socket_patch.dart:613: _pause(); So, this means that listening on a ...
7 years, 8 months ago (2013-04-03 15:26:55 UTC) #2
Søren Gjesse
PTAL Changed the API to take a subscription of already subscribed. On the server side ...
7 years, 8 months ago (2013-04-19 05:17:09 UTC) #3
Mads Ager (google)
LGTM! https://codereview.chromium.org/13502004/diff/9001/sdk/lib/io/secure_socket.dart File sdk/lib/io/secure_socket.dart (right): https://codereview.chromium.org/13502004/diff/9001/sdk/lib/io/secure_socket.dart#newcode185 sdk/lib/io/secure_socket.dart:185: * If the [socket] is already subscribed to ...
7 years, 8 months ago (2013-04-19 05:28:19 UTC) #4
Søren Gjesse
7 years, 8 months ago (2013-04-19 07:37:46 UTC) #5
Message was sent while issue was closed.
Committed patchset #4 manually as r21719 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698