Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Commit 246f6ce

Browse files
committed
Fix config parsing
1 parent f40e1f9 commit 246f6ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Microsoft.AspNet.Server.Kestrel/KestrelServerInformation.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ private void ConfigureStringCache(IConfiguration configuration)
6060
StringCacheOnConnection = true;
6161
}
6262
int stringCacheMaxStrings;
63-
if (stringCacheOnConnection && int.TryParse(configuration["server.stringCacheMaxStrings"], out stringCacheMaxStrings))
63+
if (StringCacheOnConnection && int.TryParse(configuration["server.stringCacheMaxStrings"], out stringCacheMaxStrings))
6464
{
6565
if (stringCacheMaxStrings <= 0)
6666
{
@@ -75,7 +75,7 @@ private void ConfigureStringCache(IConfiguration configuration)
7575
StringCacheMaxStrings = 25;
7676
}
7777
int stringCacheMaxStringLength;
78-
if (stringCacheOnConnection && int.TryParse(configuration["server.stringCacheMaxStringLength"], out stringCacheMaxStringLength))
78+
if (StringCacheOnConnection && int.TryParse(configuration["server.stringCacheMaxStringLength"], out stringCacheMaxStringLength))
7979
{
8080
if (stringCacheMaxStringLength <= 0)
8181
{

0 commit comments

Comments
 (0)