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

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

Issue 15268004: Add timeouts to HttpClient. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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 47be232c868a1d46ca93dadfd8587eac85e13ada..428ce56bee7984cc940e0a1294d34e3f4a26397c 100644
--- a/sdk/lib/io/http.dart
+++ b/sdk/lib/io/http.dart
@@ -873,6 +873,12 @@ abstract class HttpClient {
static const int DEFAULT_HTTP_PORT = 80;
static const int DEFAULT_HTTPS_PORT = 443;
+ /**
+ * Get and set the idle timeout of non-active keep-alive connections. The
Søren Gjesse 2013/05/21 08:46:02 keep-alive -> persistent (keep-alive)
Anders Johnsen 2013/05/21 09:01:09 Done.
+ * default value is 15 seconds.
+ */
+ Duration idleTimeout;
+
factory HttpClient() => new _HttpClient();
/**
« 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