Skip to content

Commit 15eea3f

Browse files
committed
Slow things down
1 parent c57e08e commit 15eea3f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Servers/Kestrel/Core/src/Internal/Http/HttpParser.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ public unsafe bool ParseRequestLine(TRequestHandler handler, in ReadOnlySequence
7575

7676
private unsafe void ParseRequestLine(TRequestHandler handler, byte* data, int length)
7777
{
78+
System.Threading.Thread.Sleep(10);
79+
7880
// Get Method and set the offset
7981
var method = HttpUtilities.GetKnownMethod(data, length, out var pathStartOffset);
8082

0 commit comments

Comments
 (0)