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

Unified Diff: sdk/lib/io/http.dart

Issue 2931623003: Updated HttpServer documentation to specify that only IPv6 connections can be made when specifying … (Closed)
Patch Set: Removed extra asyncs Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/standalone/io/http_loopback_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/http.dart
diff --git a/sdk/lib/io/http.dart b/sdk/lib/io/http.dart
index 9e4e6a6b24c8bd698f1f3408fab48c629e2a4bbd..3d76df35563206f43699b9732addad1a9d2b82e6 100644
--- a/sdk/lib/io/http.dart
+++ b/sdk/lib/io/http.dart
@@ -224,7 +224,9 @@ abstract class HttpServer implements Stream<HttpRequest> {
* If an IP version 6 (IPv6) address is used, both IP version 6
* (IPv6) and version 4 (IPv4) connections will be accepted. To
* restrict this to version 6 (IPv6) only, use [v6Only] to set
- * version 6 only.
+ * version 6 only. However, if the address is
+ * [InternetAddress.LOOPBACK_IP_V6], only IP version 6 (IPv6) connections
+ * will be accepted.
*
* If [port] has the value [:0:] an ephemeral port will be chosen by
* the system. The actual port used can be retrieved using the
« no previous file with comments | « no previous file | tests/standalone/io/http_loopback_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698