Index: sdk/lib/io/http_impl.dart |
diff --git a/sdk/lib/io/http_impl.dart b/sdk/lib/io/http_impl.dart |
index 5c49c2f469bf355be603faf03c90e291ca115df6..846cd6b3a8193fb3f9acf0871fa0060dd13539ae 100644 |
--- a/sdk/lib/io/http_impl.dart |
+++ b/sdk/lib/io/http_impl.dart |
@@ -2301,15 +2301,11 @@ class _HttpServer |
} |
void _handleRequest(_HttpRequest request) { |
- // Delay the request until the isolate's message-queue is handled. |
- // This greatly improves scheduling when a lot of requests are active. |
- Timer.run(() { |
- if (!closed) { |
- _controller.add(request); |
- } else { |
- request._httpConnection.destroy(); |
- } |
- }); |
+ if (!closed) { |
+ _controller.add(request); |
+ } else { |
+ request._httpConnection.destroy(); |
+ } |
} |
void _handleError(error) { |