Index: net/http/http_proxy_client_socket_pool.cc |
diff --git a/net/http/http_proxy_client_socket_pool.cc b/net/http/http_proxy_client_socket_pool.cc |
index 6c2084ed980268912b68bc378d07047b67583c59..3b84a2ff9e5f08a6998ce0fe50a2412d77495444 100644 |
--- a/net/http/http_proxy_client_socket_pool.cc |
+++ b/net/http/http_proxy_client_socket_pool.cc |
@@ -68,13 +68,14 @@ HttpProxySocketParams::~HttpProxySocketParams() {} |
// HttpProxyConnectJobs will time out after this many seconds. Note this is on |
// top of the timeout for the transport socket. |
-#if (defined(OS_ANDROID) || defined(OS_IOS)) && defined(SPDY_PROXY_AUTH_ORIGIN) |
+// TODO(kundaji): Proxy connect timeout should be independent of platform and be |
+// based on proxy. Bug 407446. |
mmenke
2014/09/08 18:11:14
nit: Just for the lazy, should probably have a li
Not at Google. Contact bengr
2014/09/08 19:18:35
Done.
|
+#if defined(OS_ANDROID) || defined(OS_IOS) |
static const int kHttpProxyConnectJobTimeoutInSeconds = 10; |
#else |
static const int kHttpProxyConnectJobTimeoutInSeconds = 30; |
#endif |
- |
HttpProxyConnectJob::HttpProxyConnectJob( |
const std::string& group_name, |
RequestPriority priority, |