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

Issue 375113002: Swallow errors in subscriptions. (Closed)

Created:
6 years, 5 months ago by Bob Nystrom
Modified:
6 years, 5 months ago
Reviewers:
nweiz, Anders Johnsen
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Swallow errors in subscriptions. BUG=https://code.google.com/p/dart/issues/detail?id=19815

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -34 lines) Patch
A pkg/http_multi_server/CHANGELOG.md View 1 chunk +5 lines, -0 lines 0 comments Download
M pkg/http_multi_server/lib/http_multi_server.dart View 1 chunk +6 lines, -11 lines 0 comments Download
M pkg/http_multi_server/lib/src/utils.dart View 2 chunks +8 lines, -21 lines 2 comments Download
M pkg/http_multi_server/pubspec.yaml View 1 chunk +1 line, -1 line 0 comments Download
M pkg/http_multi_server/test/http_multi_server_test.dart View 2 chunks +19 lines, -1 line 1 comment Download

Messages

Total messages: 4 (0 generated)
Bob Nystrom
Anders, is this what you had in mind? If so, I'll land this and then ...
6 years, 5 months ago (2014-07-09 00:28:05 UTC) #1
nweiz
https://codereview.chromium.org/375113002/diff/1/pkg/http_multi_server/lib/src/utils.dart File pkg/http_multi_server/lib/src/utils.dart (right): https://codereview.chromium.org/375113002/diff/1/pkg/http_multi_server/lib/src/utils.dart#newcode22 pkg/http_multi_server/lib/src/utils.dart:22: // If one of the subscriptions has an error ...
6 years, 5 months ago (2014-07-09 02:02:02 UTC) #2
Bob Nystrom
On 2014/07/09 02:02:02, nweiz wrote: > https://codereview.chromium.org/375113002/diff/1/pkg/http_multi_server/lib/src/utils.dart > File pkg/http_multi_server/lib/src/utils.dart (right): > > https://codereview.chromium.org/375113002/diff/1/pkg/http_multi_server/lib/src/utils.dart#newcode22 > ...
6 years, 5 months ago (2014-07-10 20:05:27 UTC) #3
nweiz
6 years, 5 months ago (2014-07-10 20:58:15 UTC) #4
Message was sent while issue was closed.
On 2014/07/10 20:05:27, Bob Nystrom wrote:
> On 2014/07/09 02:02:02, nweiz wrote:
> >
>
https://codereview.chromium.org/375113002/diff/1/pkg/http_multi_server/lib/sr...
> > File pkg/http_multi_server/lib/src/utils.dart (right):
> > 
> >
>
https://codereview.chromium.org/375113002/diff/1/pkg/http_multi_server/lib/sr...
> > pkg/http_multi_server/lib/src/utils.dart:22: // If one of the subscriptions
> has
> > an error (usually IPv6 failing late),
> > This comment should mention the tracking issue. It should also mention that
> this
> > implementation of mergeStreams is different from the implementation(s)
> elsewhere
> > in the repo.
> > 
> >
>
https://codereview.chromium.org/375113002/diff/1/pkg/http_multi_server/lib/sr...
> > pkg/http_multi_server/lib/src/utils.dart:24:
> subscriptions.remove(subscription);
> > If this isn't the last subscription, cancel it as well.
> > 
> >
>
https://codereview.chromium.org/375113002/diff/1/pkg/http_multi_server/test/h...
> > File pkg/http_multi_server/test/http_multi_server_test.dart (right):
> > 
> >
>
https://codereview.chromium.org/375113002/diff/1/pkg/http_multi_server/test/h...
> > pkg/http_multi_server/test/http_multi_server_test.dart:136: }
> > I'm kind of uncomfortable about using different IPv6-detection logic in the
> > tests than we do in the library. If we can't trust this logic to be accurate
> > everywhere, how can we trust that the test won't be flaky?
> 
> Marking this closed since you're taking it over, right?
> 
> - bob

Sure.

Powered by Google App Engine
This is Rietveld 408576698