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

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

Issue 12314007: Support connecting to HTTPS URL's through a proxy (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments Created 7 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 | tests/standalone/io/http_proxy_test.dart » ('j') | 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 4a8d266a2fb10cbc5186ae5000db40eb0b87cb18..ede39a2418e518c3fc6b1ea5dba2681fca5107ac 100644
--- a/sdk/lib/io/http_impl.dart
+++ b/sdk/lib/io/http_impl.dart
@@ -2026,7 +2026,7 @@ class _HttpClient implements HttpClient {
}
}
if (socketConnections == null || socketConnections.isEmpty) {
- Socket socket = secure ?
+ Socket socket = secure && proxy.isDirect ?
new SecureSocket(connectHost,
connectPort,
sendClientCertificate: _sendClientCertificate,
« no previous file with comments | « no previous file | tests/standalone/io/http_proxy_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698