This commit is contained in:
Ben Adams 2015-10-07 12:17:58 -04:00
parent 1f50f4c2a8
commit 816dabb009
1 changed files with 1 additions and 8 deletions

View File

@ -195,14 +195,7 @@ namespace Microsoft.AspNet.Server.Kestrel.Http
protected override int GetCountFast()
{{
var count = MaybeUnknown?.Count ?? 0;
{Each(loop.Headers, header => $@"
if ({header.TestBit()})
{{
++count;
}}
")}
return count;
return _bits.BitCount() + (MaybeUnknown?.Count ?? 0);
}}
protected override StringValues GetValueFast(string key)