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

Issue 2931623003: Updated HttpServer documentation to specify that only IPv6 connections can be made when specifying … (Closed)

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

Description

Updated HttpServer documentation to specify that only IPv6 connections can be made when specifying InternetAddress.LOOPBACK_IP_V6 as the address for a HttpServer. Refer to buganizer issue 38306174 for context. BUG= R=zra@google.com Committed: https://github.com/dart-lang/sdk/commit/4a15b0b6026be44339e3387a51032140fc7934de

Patch Set 1 #

Patch Set 2 : Added unit test to demonstrate expected behaviours #

Total comments: 12

Patch Set 3 : Added await to close() calls #

Total comments: 6

Patch Set 4 : Updated test to prevent analyzer errors #

Total comments: 1

Patch Set 5 : Removed extra asyncs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -1 line) Patch
M sdk/lib/io/http.dart View 1 chunk +3 lines, -1 line 0 comments Download
A tests/standalone/io/http_loopback_test.dart View 1 2 3 4 1 chunk +79 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
bkonyi
Context: https://buganizer.corp.google.com/issues/38306174
3 years, 6 months ago (2017-06-07 23:11:04 UTC) #2
zra
If we don't already have a unit test of this behavior, could you add one? ...
3 years, 6 months ago (2017-06-08 17:16:25 UTC) #3
bkonyi
Added a unit test that shows the expected behavior when using the loopback addresses. PTAL.
3 years, 6 months ago (2017-06-08 19:51:58 UTC) #4
zra
https://codereview.chromium.org/2931623003/diff/20001/tests/standalone/io/http_loopback_test.dart File tests/standalone/io/http_loopback_test.dart (right): https://codereview.chromium.org/2931623003/diff/20001/tests/standalone/io/http_loopback_test.dart#newcode28 tests/standalone/io/http_loopback_test.dart:28: client.close(); await https://codereview.chromium.org/2931623003/diff/20001/tests/standalone/io/http_loopback_test.dart#newcode37 tests/standalone/io/http_loopback_test.dart:37: server.close(); await https://codereview.chromium.org/2931623003/diff/20001/tests/standalone/io/http_loopback_test.dart#newcode48 tests/standalone/io/http_loopback_test.dart:48: client.close(); ...
3 years, 6 months ago (2017-06-08 20:05:24 UTC) #5
bkonyi
https://codereview.chromium.org/2931623003/diff/20001/tests/standalone/io/http_loopback_test.dart File tests/standalone/io/http_loopback_test.dart (right): https://codereview.chromium.org/2931623003/diff/20001/tests/standalone/io/http_loopback_test.dart#newcode28 tests/standalone/io/http_loopback_test.dart:28: client.close(); On 2017/06/08 20:05:24, zra wrote: > await Done. ...
3 years, 6 months ago (2017-06-08 21:36:10 UTC) #6
zra
https://codereview.chromium.org/2931623003/diff/40001/tests/standalone/io/http_loopback_test.dart File tests/standalone/io/http_loopback_test.dart (right): https://codereview.chromium.org/2931623003/diff/40001/tests/standalone/io/http_loopback_test.dart#newcode12 tests/standalone/io/http_loopback_test.dart:12: void serverListen(RawSocket serverSide) async { The analyzer will complain ...
3 years, 6 months ago (2017-06-08 21:45:21 UTC) #7
bkonyi
https://codereview.chromium.org/2931623003/diff/40001/tests/standalone/io/http_loopback_test.dart File tests/standalone/io/http_loopback_test.dart (right): https://codereview.chromium.org/2931623003/diff/40001/tests/standalone/io/http_loopback_test.dart#newcode12 tests/standalone/io/http_loopback_test.dart:12: void serverListen(RawSocket serverSide) async { On 2017/06/08 21:45:21, zra ...
3 years, 6 months ago (2017-06-08 22:49:38 UTC) #8
zra
lgtm after removing unneeded asyncs https://codereview.chromium.org/2931623003/diff/60001/tests/standalone/io/http_loopback_test.dart File tests/standalone/io/http_loopback_test.dart (right): https://codereview.chromium.org/2931623003/diff/60001/tests/standalone/io/http_loopback_test.dart#newcode11 tests/standalone/io/http_loopback_test.dart:11: serverListen(RawSocket serverSide) async { ...
3 years, 6 months ago (2017-06-08 22:50:49 UTC) #9
bkonyi
3 years, 6 months ago (2017-06-08 22:53:14 UTC) #11
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
4a15b0b6026be44339e3387a51032140fc7934de (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698