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

Unified Diff: runtime/bin/http_impl.dart

Issue 10916111: Change backlog on http server listen from 5 to 128. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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/standalone.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/http_impl.dart
diff --git a/runtime/bin/http_impl.dart b/runtime/bin/http_impl.dart
index 9b9a46d1f79b1662d4c1a691cb62c6dd49b5468e..0f5a63f6fc09223dd1acf1d37b827d7b30e72971 100644
--- a/runtime/bin/http_impl.dart
+++ b/runtime/bin/http_impl.dart
@@ -1432,7 +1432,7 @@ class _HttpServer implements HttpServer {
_HttpServer() : _connections = new Set<_HttpConnection>(),
_handlers = new List<_RequestHandlerRegistration>();
- void listen(String host, int port, [int backlog = 5]) {
+ void listen(String host, int port, [int backlog = 128]) {
listenOn(new ServerSocket(host, port, backlog));
_closeServer = true;
}
« no previous file with comments | « no previous file | tests/standalone/standalone.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698