Skip to content

Commit 26d016e

Browse files
Apply suggestions from code review
Co-authored-by: Genevieve Warren <[email protected]>
1 parent b3f9a00 commit 26d016e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System.Net/CookieContainer.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@
8484
8585
## Thread Safety
8686
87-
The methods for adding and retrieving <xref:System.Net.Cookie> instances to/from a <xref:System.Net.CookieContainer> are thread-safe and may be used concurrently from multiple threads.
87+
The methods for adding and retrieving <xref:System.Net.Cookie> instances to and from a <xref:System.Net.CookieContainer> are thread-safe and can be used concurrently from multiple threads.
8888
8989
> [!NOTE]
90-
> Regardless of thread-safety, unanticipated sharing of <xref:System.Net.CookieContainer> instances may lead to issues when working with <xref:System.Net.Http.HttpClient> and <xref:System.Net.Http.HttpClientHandler> or <xref:System.Net.Http.SocketsHttpHandler>, since parts of the application that not intended to share cookies may inadvertently do so.
90+
> Regardless of thread-safety, unanticipated sharing of <xref:System.Net.CookieContainer> instances can lead to issues when working with <xref:System.Net.Http.HttpClient> and <xref:System.Net.Http.HttpClientHandler> or <xref:System.Net.Http.SocketsHttpHandler>, since parts of the application that aren't intended to share cookies might inadvertently do so.
9191
> It is not recommended to use cookies together with <xref:System.Net.Http.IHttpClientFactory>.
9292
9393
]]></format>

0 commit comments

Comments
 (0)