Skip to content

Commit b0596e5

Browse files
authored
Fix typo in 'knownMehods' (#39880)
1 parent dfb9a5b commit b0596e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Servers/Kestrel/Core/src/Internal/Infrastructure/HttpUtilities.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ public static HttpMethod GetKnownMethod(this ReadOnlySpan<byte> span, out int me
202202
{
203203
var value = BinaryPrimitives.ReadUInt64LittleEndian(span);
204204
var index = GetKnownMethodIndex(value);
205-
var knownMehods = _knownMethods;
206-
if ((uint)index < (uint)knownMehods.Length)
205+
var knownMethods = _knownMethods;
206+
if ((uint)index < (uint)knownMethods.Length)
207207
{
208208
var knownMethod = _knownMethods[index];
209209

0 commit comments

Comments
 (0)