diff --git a/xml/System.Net/ServicePoint.xml b/xml/System.Net/ServicePoint.xml index 449581a51b8..ba8e3681f79 100644 --- a/xml/System.Net/ServicePoint.xml +++ b/xml/System.Net/ServicePoint.xml @@ -537,6 +537,8 @@ Although a object can make multiple connections t The property sets the maximum number of connections that the object can make to an Internet resource. The value of the property is set to the value of the property when the object is created; subsequent changes to have no effect on existing objects. + The connection limit does not apply to proxied connections nor proxy tunnels. + > [!NOTE] > Since .NET 9, this property maps to . However, handlers are not being reused between requests so it doesn't have any meaningful impact. @@ -1152,6 +1154,8 @@ The `GetHashCode` method returns a hash code of this instance. This value can be If a TCP connection is dropped as the result of keep-alives, a of is returned to any calls in progress on the socket, and any subsequent calls will fail with a of . + This method is not thread-safe. Any new connection created at the same time might see partially changed values for the TCP keep-alive. + > [!NOTE] > Since .NET 9, uses to set TCP keep alive options on the underlying socket to the values provided to this method. diff --git a/xml/System.Net/ServicePointManager.xml b/xml/System.Net/ServicePointManager.xml index eabe8225fa0..5583800b0af 100644 --- a/xml/System.Net/ServicePointManager.xml +++ b/xml/System.Net/ServicePointManager.xml @@ -999,7 +999,7 @@ property below the number of objects currently in existence, the deletes the objects with the longest idle times. If the number of objects with active connections is greater than the value of , the object deletes the objects as they become idle. + When you reduce the property below the number of objects currently in existence, the deletes the objects with the longest idle times. If the number of objects with active connections is greater than the value of , the object deletes the objects as they become idle. If this limit is set and more distinct instances are requested, will throw. As a result, s leading to new, distinct endpoints will fail. > [!NOTE] > This property is only implemented on .NET Framework. @@ -1280,6 +1280,8 @@ Each callback returns a value that indicates whether the certificate is accepted If a TCP connection is dropped as the result of keep-alives, a of is returned to any calls in progress on the socket, and any subsequent calls will fail with a of . + This method is not thread-safe. Any created at the same time might see partially changed values for the TCP keep-alive. + > [!NOTE] > Since .NET 9, uses to set TCP keep alive options on the underlying socket to the values provided to this method.