From f787c5277c965dd7c761497a56192283cdd9b97c Mon Sep 17 00:00:00 2001 From: David Fowler Date: Sun, 2 Apr 2017 23:53:49 -0700 Subject: [PATCH] Remove unused span (#1599) --- .../Internal/Http/KestrelHttpParser.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Microsoft.AspNetCore.Server.Kestrel.Core/Internal/Http/KestrelHttpParser.cs b/src/Microsoft.AspNetCore.Server.Kestrel.Core/Internal/Http/KestrelHttpParser.cs index ef8d48951c..b78d04b69c 100644 --- a/src/Microsoft.AspNetCore.Server.Kestrel.Core/Internal/Http/KestrelHttpParser.cs +++ b/src/Microsoft.AspNetCore.Server.Kestrel.Core/Internal/Http/KestrelHttpParser.cs @@ -181,8 +181,6 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Internal.Http RejectRequestLine(data, length); } - var line = new Span(data, length); - handler.OnStartLine(method, httpVersion, targetBuffer, pathBuffer, query, customMethod, pathEncoded); }