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

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

Issue 176893003: Only use one timer to handle HttpServer::idleTimeout. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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 | sdk/lib/io/http_impl.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 cfa7250d96df7802777f4fa4ac6e7f7222c3dee5..818a37a4bdd33cf6812973087d31889d25175490 100644
--- a/sdk/lib/io/http.dart
+++ b/sdk/lib/io/http.dart
@@ -98,6 +98,9 @@ abstract class HttpServer implements Stream<HttpRequest> {
*
* Default is 120 seconds.
*
+ * Note that it may take up to `2 * idleTimeout` before a idle connection is
+ * aborted.
+ *
* To disable, set [idleTimeout] to `null`.
*/
Duration idleTimeout;
« no previous file with comments | « no previous file | sdk/lib/io/http_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698