Skip to content

[HTTP] ServicePointManager and ServicePoint#12423

Open
ManickaP wants to merge 4 commits intodotnet:mainfrom
ManickaP:sp-spm
Open

[HTTP] ServicePointManager and ServicePoint#12423
ManickaP wants to merge 4 commits intodotnet:mainfrom
ManickaP:sp-spm

Conversation

@ManickaP
Copy link
Member

Updated docs with more details about:

  • SetTcpKeepAlive
  • ConnectionLimit
  • MaxServicePoints

@ManickaP ManickaP requested a review from a team as a code owner March 19, 2026 15:48
Copilot AI review requested due to automatic review settings March 19, 2026 15:48
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the XML API docs for System.Net.ServicePointManager and System.Net.ServicePoint to clarify behavioral details around TCP keep-alives, connection limits, and the MaxServicePoints cap.

Changes:

  • Expanded MaxServicePoints remarks to describe behavior when the limit is exceeded.
  • Added thread-safety notes for SetTcpKeepAlive.
  • Added a note about ServicePoint.ConnectionLimit behavior with proxies.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
xml/System.Net/ServicePointManager.xml Clarifies MaxServicePoints behavior and documents SetTcpKeepAlive thread-safety considerations.
xml/System.Net/ServicePoint.xml Adds proxy-related note for ConnectionLimit and adds SetTcpKeepAlive thread-safety guidance.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Marie Píchová <11718369+ManickaP@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants