You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gfoidl
added
area-networking
Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
and removed
needs-area-label
Used by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically
labels
Apr 26, 2025
Is there an existing issue for this?
Describe the bug
Calling
Reset()
onHeaderDictionary.Enumerator
does not result in the enumerator being reset.The issue is caused by the cast shown here which results in the underlying enumerator being copied by value.
Expected Behavior
The enumerator is reset to the initial state.
Steps To Reproduce
https://github.com/CoryCharlton/HeaderDictionary_Enumerator_Reset
Exceptions (if any)
No response
.NET Version
9.0.203
Anything else?
PR that implements proposed fix is here.
The text was updated successfully, but these errors were encountered: