From d06354174070d01394f5e75ffcfc9c1110a1e7db Mon Sep 17 00:00:00 2001 From: Marek Habersack Date: Wed, 14 Sep 2016 11:18:13 +0200 Subject: [PATCH] Set DefaultPersistentConnectionLimit to 10 for Xamarin.Android This is to make it the same as the Xamarin.iOS setting and fixes https://bugzilla.xamarin.com/show_bug.cgi?id=7467 --- mcs/class/System/System.Net/ServicePointManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mcs/class/System/System.Net/ServicePointManager.cs b/mcs/class/System/System.Net/ServicePointManager.cs index b3c996044ef..17308253af5 100644 --- a/mcs/class/System/System.Net/ServicePointManager.cs +++ b/mcs/class/System/System.Net/ServicePointManager.cs @@ -132,7 +132,7 @@ namespace System.Net // Fields public const int DefaultNonPersistentConnectionLimit = 4; -#if MONOTOUCH +#if MOBILE public const int DefaultPersistentConnectionLimit = 10; #else public const int DefaultPersistentConnectionLimit = 2; -- 2.25.1