File mono-2d8839e704f8405becb3bc7f81ff8bc5ad897f7b.diff of Package mono

-Subproject commit 95462f9c5fc78a57bb5598ffca6cc82b03e67cb3
+Subproject commit 655c5477a20ffbdfe5f7419829646ce8def00318
diff --git a/mcs/class/System/System.Net/ServicePoint.cs b/mcs/class/System/System.Net/ServicePoint.cs
index 885196f7ba7c..4e59aa35372a 100644
--- a/mcs/class/System/System.Net/ServicePoint.cs
+++ b/mcs/class/System/System.Net/ServicePoint.cs
@@ -56,6 +56,8 @@ public class ServicePoint
 		int tcp_keepalive_time;
 		int tcp_keepalive_interval;
 		bool disposed;
+		int connectionLeaseTimeout = -1;
+		int receiveBufferSize = -1;
 
 		// Constructors
 
@@ -83,23 +85,19 @@ internal ServicePoint (ServicePointManager.SPKey key, Uri uri, int connectionLim
 			get { return uri; }
 		}
 
-		static Exception GetMustImplement ()
-		{
-			return new NotImplementedException ();
-		}
-
 		public BindIPEndPoint BindIPEndPointDelegate {
 			get { return endPointCallback; }
 			set { endPointCallback = value; }
 		}
 
-		[MonoTODO]
 		public int ConnectionLeaseTimeout {
-			get {
-				throw GetMustImplement ();
-			}
-			set {
-				throw GetMustImplement ();
+			get { return connectionLeaseTimeout; }
+			set
+			{
+				if (value < Timeout.Infinite)
+					throw new ArgumentOutOfRangeException (nameof (value));
+
+				connectionLeaseTimeout = value;
 			}
 		}
 
@@ -146,13 +144,14 @@ static Exception GetMustImplement ()
 			get { return protocolVersion; }
 		}
 
-		[MonoTODO]
 		public int ReceiveBufferSize {
-			get {
-				throw GetMustImplement ();
-			}
-			set {
-				throw GetMustImplement ();
+			get { return receiveBufferSize; }
+			set
+			{
+				if (value < -1)
+					throw new ArgumentOutOfRangeException (nameof (value));
+
+				receiveBufferSize = value;
 			}
 		}
 
openSUSE Build Service is sponsored by