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

Issue 1412063015: Improve resource record implementation in the mdns package. (Closed)

Created:
5 years, 1 month ago by karlklose
Modified:
5 years, 1 month ago
Reviewers:
Søren Gjesse
CC:
fletch+reviews_googlegroups.com
Base URL:
https://github.com/dart-lang/fletch.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Improve resource record implementation in the mdns package. This change adds the ability to query RR types PTR, SRV, and TXT and handle arbitrary responses. R=sgjesse@google.com Committed: https://github.com/dart-lang/fletch/commit/8ed2a1804b1c6408ba70954779472a6c6e21571c

Patch Set 1 #

Total comments: 9

Patch Set 2 : Fix typo. #

Total comments: 4

Patch Set 3 : Address comments #

Total comments: 1

Patch Set 4 : Remove unnecessary await. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+487 lines, -105 lines) Patch
A pkg/mdns/bin/mdns-sd.dart View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
M pkg/mdns/lib/mdns.dart View 1 2 2 chunks +13 lines, -9 lines 0 comments Download
M pkg/mdns/lib/src/constants.dart View 1 chunk +11 lines, -4 lines 0 comments Download
M pkg/mdns/lib/src/lookup_resolver.dart View 1 2 1 chunk +40 lines, -22 lines 0 comments Download
M pkg/mdns/lib/src/native_extension_client.dart View 1 2 3 chunks +23 lines, -8 lines 0 comments Download
M pkg/mdns/lib/src/native_protocol_client.dart View 1 2 3 chunks +81 lines, -7 lines 0 comments Download
M pkg/mdns/lib/src/packet.dart View 5 chunks +96 lines, -28 lines 0 comments Download
M pkg/mdns/test/decode_test.dart View 1 2 4 chunks +68 lines, -3 lines 0 comments Download
M pkg/mdns/test/lookup_resolver_test.dart View 1 2 3 2 chunks +33 lines, -24 lines 0 comments Download
A pkg/mdns/test/resource_record_cache.dart View 1 2 1 chunk +91 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
karlklose
5 years, 1 month ago (2015-11-06 08:07:34 UTC) #1
Søren Gjesse
LGTM, with a few comments Also it would be nice to have a few decoding ...
5 years, 1 month ago (2015-11-06 08:44:48 UTC) #2
karlklose
I updated and added tests and fixed an issue where we did not cancel the ...
5 years, 1 month ago (2015-11-06 12:20:00 UTC) #4
Søren Gjesse
LGTM! https://codereview.chromium.org/1412063015/diff/60001/pkg/mdns/test/lookup_resolver_test.dart File pkg/mdns/test/lookup_resolver_test.dart (right): https://codereview.chromium.org/1412063015/diff/60001/pkg/mdns/test/lookup_resolver_test.dart#newcode28 pkg/mdns/test/lookup_resolver_test.dart:28: Expect.isTrue(await result.isEmpty); Remove await here?
5 years, 1 month ago (2015-11-06 12:28:34 UTC) #5
karlklose
5 years, 1 month ago (2015-11-06 12:33:09 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 (id:80001) manually as
8ed2a1804b1c6408ba70954779472a6c6e21571c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698