10000 SocketsHttpHandler - update documentation by aik-jahoda · Pull Request #4290 · dotnet/dotnet-api-docs · GitHub
[go: up one dir, main page]

Skip to content

SocketsHttpHandler - update documentation #4290

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Jun 30, 2020

Conversation

aik-jahoda
Copy link
Contributor

Summary

Collect all changes from #3916 related to ReadOnlyMemoryContent

@dotnet-bot dotnet-bot added this to the May 2020 milestone May 27, 2020
@aik-jahoda aik-jahoda marked this pull request as draft May 27, 2020 09:28
@aik-jahoda aik-jahoda changed the title ReadOnlyMemoryContent - update documentation SocketsHttpHandler - update documentation May 27, 2020
Co-authored-by: Maira Wenzel <mairaw@microsoft.com>
@BillWagner BillWagner modified the milestones: May 2020, June 2020 Jun 4, 2020
…otnet-api-docs into jajahoda/SocketsHttpHandler
aik-jahoda and others added 3 commits June 10, 2020 14:10
Co-authored-by: Karel Zikmund <karelz@microsoft.com>
Co-authored-by: Maira Wenzel <mairaw@microsoft.com>
…otnet-api-docs into jajahoda/SocketsHttpHandler
@aik-jahoda aik-jahoda marked this pull request as ready for review June 10, 2020 14:01
@aik-jahoda aik-jahoda requested review from mairaw, karelz and wfurt June 11, 2020 09:07
Copy link
Member
@wfurt wfurt left a comment

Choose a reason for hiding this comment

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

LGTM.

## Remarks
This property define maximal connection lifetime in the pool regardles the connection is idle or active. The connection should be reestablished periodically to reflect the DNS TTL. There is no link between actuall DNS TTL and this property and the property shoul be set manually.

If the connection endpoint is not the Doamin name but the IP address, the value can be <xref:System.Threading.Timeout.InfiniteTimeSpan>.
Copy link
Member

Choose a reason for hiding this comment

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

Is this based on the code? Or is this just hint? The DNS refresh matters only if server is on dynamic IP IMHO.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is just a hint. Please correct me there.

I was about more static setup where the server can change its IP because infra changes and DNS reflect this change after TTL.

Any suggestion (change/ truncate the sentence) is appreciate.

Copy link
Member

Choose a reason for hiding this comment

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

Maybe just say something like

This property defines maximal connection lifetime in the connectioon pool regardles the connection is idle or active. The connection will be reestablished periodically to reflect the DNS or other network changes.

and I would probably remove the part about IP address. I think it is up to the caller to decide if refresh make sense for them or not.

aik-jahoda and others added 2 commits June 26, 2020 14:26
Co-authored-by: Maira Wenzel <mairaw@microsoft.com>
@aik-jahoda aik-jahoda merged commit 2b21ba6 into dotnet:master Jun 30, 2020
@aik-jahoda aik-jahoda deleted the jajahoda/SocketsHttpHandler branch September 2, 2020 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants
0