From df755a762d591462fa87226305f2dc0038bb5374 Mon Sep 17 00:00:00 2001 From: divya2507punna Date: Sat, 26 Apr 2025 13:27:22 +0530 Subject: [PATCH 1/2] save readme file --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5af63de029e3..4f3165bcb566 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ ASP.NET Core -============ +============= [![.NET Foundation](https://img.shields.io/badge/.NET%20Foundation-blueviolet.svg)](https://www.dotnetfoundation.org/) [![MIT License](https://img.shields.io/github/license/dotnet/aspnetcore?color=%230b0&style=flat-square)](https://github.com/dotnet/aspnetcore/blob/main/LICENSE.txt) [![Help Wanted](https://img.shields.io/github/issues/dotnet/aspnetcore/help%20wanted?color=%232EA043&label=help%20wanted&style=flat-square)](https://github.com/dotnet/aspnetcore/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) [![Good First Issues](https://img.shields.io/github/issues/dotnet/aspnetcore/good%20first%20issue?color=%23512BD4&label=good%20first%20issue&style=flat-square)](https://github.com/dotnet/aspnetcore/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) From 6b6bc72de187497f5b5bf84316354c964a29c4bb Mon Sep 17 00:00:00 2001 From: divya2507punna Date: Sat, 26 Apr 2025 19:05:55 +0530 Subject: [PATCH 2/2] reset bug fixed --- src/Http/Http/src/HeaderDictionary.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Http/Http/src/HeaderDictionary.cs b/src/Http/Http/src/HeaderDictionary.cs index c13b2ccc567d..ee1911ba4690 100644 --- a/src/Http/Http/src/HeaderDictionary.cs +++ b/src/Http/Http/src/HeaderDictionary.cs @@ -451,7 +451,9 @@ void IEnumerator.Reset() { if (_notEmpty) { + var enumerator = _dictionaryEnumerator; ((IEnumerator)_dictionaryEnumerator).Reset(); + _dictionaryEnumerator = enumerator; } } }