summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/network
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-02-16 17:33:50 +0000
committerSteve Block <steveblock@google.com>2012-02-22 17:09:24 +0000
commit4bcd50196a7fe4c0c909ce6a7cfac6a808336611 (patch)
treed196d6ed654433d3953cbf9476e76f7db8394ef3 /Source/WebCore/platform/network
parentfa20d5d7a15b724e0209ba319750249dcd540402 (diff)
downloadexternal_webkit-4bcd50196a7fe4c0c909ce6a7cfac6a808336611.zip
external_webkit-4bcd50196a7fe4c0c909ce6a7cfac6a808336611.tar.gz
external_webkit-4bcd50196a7fe4c0c909ce6a7cfac6a808336611.tar.bz2
Drop support for Android HTTP stack
All future releases will use the Chromium HTTP stack and maintaining two HTTP stacks adds maintenance overhead. The Chromium HTTP stack requires V8, but we now use V8 in all build targets (b/5495373), so we can safely drop the Android HTTP stack. See corresponding framework change https://android-git.corp.google.com/g/166325. Bug: 5495616 Change-Id: I41117b6750fbc1c84cbd4a5951b0d1a457354f93
Diffstat (limited to 'Source/WebCore/platform/network')
-rw-r--r--Source/WebCore/platform/network/android/ResourceRequestAndroid.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/WebCore/platform/network/android/ResourceRequestAndroid.cpp b/Source/WebCore/platform/network/android/ResourceRequestAndroid.cpp
index 00735f3..1519e9c 100644
--- a/Source/WebCore/platform/network/android/ResourceRequestAndroid.cpp
+++ b/Source/WebCore/platform/network/android/ResourceRequestAndroid.cpp
@@ -30,17 +30,10 @@ namespace WebCore {
unsigned initializeMaximumHTTPConnectionCountPerHost()
{
-#if USE(CHROME_NETWORK_STACK)
// The chromium network stack already handles limiting the number of
// parallel requests per host, so there's no need to do it here. Therefore,
// this is set to a high value that should never be hit in practice.
return 10000;
-#else
- // This is used by the loader to control the number of parallel load
- // requests. Our java framework has 4 threads that can each pipeline up to
- // 5 requests. Use 20 as a maximum number.
- return 20;
-#endif
}
} // namespace WebCore