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

Issue 11416108: Implement input and output streams for secure network sockets. (Closed)

Created:
8 years, 1 month ago by Bill Hesse
Modified:
8 years ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Implement input and output streams for secure network sockets. BUG=dart:6701 Committed: https://code.google.com/p/dart/source/detail?r=15267

Patch Set 1 #

Patch Set 2 : Fix capitalization of string in one place. #

Total comments: 1

Patch Set 3 : Minimize diff to tls_server_test.dart. #

Total comments: 5

Patch Set 4 : rebase to secure sockets with correct close(true) behavior. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -71 lines) Patch
M runtime/bin/socket_patch.dart View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M sdk/lib/io/tls_socket.dart View 1 2 3 8 chunks +75 lines, -7 lines 0 comments Download
A + tests/standalone/io/tls_server_stream_test.dart View 1 2 3 2 chunks +13 lines, -30 lines 0 comments Download
A + tests/standalone/io/tls_stream_test.dart View 1 2 3 2 chunks +8 lines, -32 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Bill Hesse
https://codereview.chromium.org/11416108/diff/1005/runtime/bin/socket_patch.dart File runtime/bin/socket_patch.dart (right): https://codereview.chromium.org/11416108/diff/1005/runtime/bin/socket_patch.dart#newcode468 runtime/bin/socket_patch.dart:468: if (_seenFirstOutEvent) { See if statement below. https://codereview.chromium.org/11416108/diff/3001/sdk/lib/io/tls_socket.dart File ...
8 years, 1 month ago (2012-11-20 18:42:55 UTC) #1
Søren Gjesse
LGTM I think you should make a follow-up CL where all the TLS socket tests ...
8 years, 1 month ago (2012-11-20 21:13:07 UTC) #2
Mads Ager (google)
8 years, 1 month ago (2012-11-21 06:59:53 UTC) #3
lgtm

https://codereview.chromium.org/11416108/diff/3001/tests/standalone/io/tls_se...
File tests/standalone/io/tls_server_stream_test.dart (right):

https://codereview.chromium.org/11416108/diff/3001/tests/standalone/io/tls_se...
tests/standalone/io/tls_server_stream_test.dart:15: var received = new
String.fromCharCodes(input.read());
On 2012/11/20 21:13:07, Søren Gjesse wrote:
> The read is guaranteed to receive all the expected data. 

is *not* guaranteed. :-)

Powered by Google App Engine
This is Rietveld 408576698