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

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

Issue 50783003: Fix HttpServer after SecureServerSocket no longer is a ServerSocket. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/http_impl.dart
diff --git a/sdk/lib/io/http_impl.dart b/sdk/lib/io/http_impl.dart
index 70a18a5d76a3a031de3b8c27537ec77a7a9c0a38..c1ec1bf848d2547a44a5c794844bfd37791bd9f1 100644
--- a/sdk/lib/io/http_impl.dart
+++ b/sdk/lib/io/http_impl.dart
@@ -2100,8 +2100,9 @@ class _HttpServer extends Stream<HttpRequest> implements HttpServer {
// Indicated if the http server has been closed.
bool closed = false;
- // The server listen socket.
- final ServerSocket _serverSocket;
+ // The server listen socket. Untyped as it can be both ServerSocket and
+ // SecureServerSocket.
+ final _serverSocket;
final bool _closeServer;
// Set of currently connected clients.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698