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

Issue 2426413006: Propagate errors correctly in Socket.connect (Closed)

Created:
4 years, 2 months ago by zra
Modified:
4 years, 2 months ago
Reviewers:
Søren Gjesse, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Propagate errors correctly in Socket.connect socket.port can throw an exception. The error from the exception, if there is one, has to go to the completer, not be thrown up the stack, otherwise it may go to the enclosing Zone rather than e.g. a try ... catch around await Socket.connetc(). This is a possible fix for the issue below, but it is tough to say because I don't have a reliable repro. related #27440 R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/16db33b7a27458fa605ab533101ade4b05ba8e47

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M runtime/bin/socket_patch.dart View 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 6 (3 generated)
zra
4 years, 2 months ago (2016-10-19 21:58:52 UTC) #3
siva
lgtm
4 years, 2 months ago (2016-10-19 22:08:53 UTC) #4
zra
4 years, 2 months ago (2016-10-19 22:13:04 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
16db33b7a27458fa605ab533101ade4b05ba8e47 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698