Skip to content

Commit 48242a6

Browse files
author
Joshua Peterson
authored
Merge pull request #1188 from Unity-Technologies/change-default-connection-limit
Use the non-server default connection limit for unityaot (case 1156607)
2 parents cc64ebd + f41e565 commit 48242a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcs/class/System/System.Net/ServicePointManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public override bool Equals (object obj) {
132132
// Fields
133133

134134
public const int DefaultNonPersistentConnectionLimit = 4;
135-
#if MOBILE
135+
#if MOBILE && !UNITY_AOT
136136
public const int DefaultPersistentConnectionLimit = 10;
137137
#else
138138
public const int DefaultPersistentConnectionLimit = 2;

0 commit comments

Comments
 (0)