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

Issue 2946333002: Added timeout parameter to RawSocket and Socket connect, which allows for the specification of a ma… (Closed)

Created:
3 years, 6 months ago by bkonyi
Modified:
3 years, 6 months ago
Reviewers:
zra
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Added timeout parameter to RawSocket and Socket connect, which allows for the specification of a maximum time to wait for a valid connection to be established. fixes #19120 R=zra@google.com Committed: https://github.com/dart-lang/sdk/commit/86fdbde70a0d22cdf03612ce2d5a3f38ded71634

Patch Set 1 #

Total comments: 12

Patch Set 2 : Updated documentation and addressed zra's comments #

Patch Set 3 : Updated CHANGELOG.md #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -11 lines) Patch
M CHANGELOG.md View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/bin/socket_patch.dart View 1 6 chunks +33 lines, -7 lines 0 comments Download
M sdk/lib/_internal/js_runtime/lib/io_patch.dart View 2 chunks +4 lines, -2 lines 0 comments Download
M sdk/lib/io/socket.dart View 1 2 chunks +16 lines, -2 lines 0 comments Download
M tests/standalone/io/socket_test.dart View 1 2 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
bkonyi
3 years, 6 months ago (2017-06-21 19:31:05 UTC) #2
zra
https://codereview.chromium.org/2946333002/diff/1/runtime/bin/socket_patch.dart File runtime/bin/socket_patch.dart (right): https://codereview.chromium.org/2946333002/diff/1/runtime/bin/socket_patch.dart#newcode440 runtime/bin/socket_patch.dart:440: completer.completeError(error); It shouldn't be necessary, but I would be ...
3 years, 6 months ago (2017-06-21 20:32:32 UTC) #4
bkonyi
https://codereview.chromium.org/2946333002/diff/1/sdk/lib/io/socket.dart File sdk/lib/io/socket.dart (right): https://codereview.chromium.org/2946333002/diff/1/sdk/lib/io/socket.dart#newcode431 sdk/lib/io/socket.dart:431: * [timeout]. On 2017/06/21 20:32:31, zra wrote: > Say ...
3 years, 6 months ago (2017-06-21 21:20:05 UTC) #5
zra
lgtm after also updating the CHANGELOG with a short message.
3 years, 6 months ago (2017-06-21 21:24:29 UTC) #6
bkonyi
3 years, 6 months ago (2017-06-21 21:32:01 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
86fdbde70a0d22cdf03612ce2d5a3f38ded71634 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698