Skip to content

[WinHTTP] Fix certificate caching timeout #115144

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 2 commits into from
Apr 30, 2025

Conversation

liveans
Copy link
Member

@liveans liveans commented Apr 29, 2025

@liveans liveans requested review from a team and Copilot April 29, 2025 09:08
@ghost ghost added the area-System.Net.Http label Apr 29, 2025
Copy link
Contributor

@Copilot 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

This PR aims to fix the certificate caching timeout in the WinHttpHandler by updating the calculation for s_staleTimeout.

  • Updated the computation of s_staleTimeout by removing an unnecessary division by 1000.
  • Ensured consistency between the timeout interval in seconds and the value calculated in Stopwatch ticks.

Copy link
Contributor

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

@liveans
Copy link
Member Author

liveans commented Apr 30, 2025

/azp run runtime-libraries-coreclr outerloop

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@liveans
Copy link
Member Author

liveans commented Apr 30, 2025

/ba-g failures unrelated (Interop JS)

@liveans liveans merged commit b107e73 into dotnet:main Apr 30, 2025
82 of 93 checks passed
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