parent
14e606997f
commit
31c8423df1
|
|
@ -111,6 +111,8 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
|
|||
_isReadOnly = true;
|
||||
}
|
||||
|
||||
// Inline to allow ClearFast to devirtualize in caller
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void Reset()
|
||||
{
|
||||
_isReadOnly = false;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ using Microsoft.Net.Http.Headers;
|
|||
|
||||
namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
|
||||
{
|
||||
public partial class HttpRequestHeaders : HttpHeaders
|
||||
public sealed partial class HttpRequestHeaders : HttpHeaders
|
||||
{
|
||||
private static long ParseContentLength(string value)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ using Microsoft.Net.Http.Headers;
|
|||
|
||||
namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
|
||||
{
|
||||
public partial class HttpResponseHeaders : HttpHeaders
|
||||
public sealed partial class HttpResponseHeaders : HttpHeaders
|
||||
{
|
||||
private static readonly byte[] _CrLf = new[] { (byte)'\r', (byte)'\n' };
|
||||
private static readonly byte[] _colonSpace = new[] { (byte)':', (byte)' ' };
|
||||
|
|
|
|||
Loading…
Reference in New Issue