Once HttpClient.DefaultProxy is accessed, it will not be updated again.
Description
When the system proxy changes, HttpClient.DefaultProxy still retrieves the old proxy.
Reproduction Steps
When running the program and accessing HttpClient.DefaultProxy, if the system proxy is modified afterwards, the program will still retrieve the old proxy when accessing HttpClient.DefaultProxy again.
Expected behavior
nothing
Actual behavior
nothing
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
Tagging subscribers to this area: @dotnet/ncl See info in area-owners.md if you want to be subscribed.
Issue Details
Description
When the system proxy changes, HttpClient.DefaultProxy still retrieves the old proxy.
Reproduction Steps
When running the program and accessing HttpClient.DefaultProxy, if the system proxy is modified afterwards, the program will still retrieve the old proxy when accessing HttpClient.DefaultProxy again.
Expected behavior
nothing
Actual behavior
nothing
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
| Author: | simpleway2016 |
|---|---|
| Assignees: | - |
| Labels: |
|
| Milestone: | - |
This is a known limitation - covered in #46910
Duplicate of #46910