diff --git a/NuGet.config b/NuGet.config index be79ec8ee5..1a73a851d5 100644 --- a/NuGet.config +++ b/NuGet.config @@ -2,6 +2,14 @@ + + + + + + + + @@ -10,5 +18,12 @@ - + + + + + + + + diff --git a/eng/Baseline.Designer.props b/eng/Baseline.Designer.props index dc602f30b9..456cfb56ce 100644 --- a/eng/Baseline.Designer.props +++ b/eng/Baseline.Designer.props @@ -2,28 +2,28 @@ $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - - - + + + @@ -37,108 +37,108 @@ - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - - + + - 5.0.1 + 5.0.2 - - + + - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - + - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 @@ -146,110 +146,110 @@ - 5.0.1 + 5.0.2 - + - + - + - 5.0.1 + 5.0.2 - + - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - + - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - - + + - 5.0.1 + 5.0.2 - + - 5.0.1 + 5.0.2 - - - + + + - 5.0.1 + 5.0.2 - - + + - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - - + + - 5.0.1 + 5.0.2 - - + + - 5.0.1 + 5.0.2 @@ -257,86 +257,86 @@ - 5.0.1 + 5.0.2 - + - + - + - + - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - + - + - + - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - - + + - 5.0.1 + 5.0.2 - + - + - + - 5.0.1 + 5.0.2 - + - + - 5.0.1 + 5.0.2 - - + + @@ -346,8 +346,8 @@ - - + + @@ -356,8 +356,8 @@ - - + + @@ -368,14 +368,14 @@ - 5.0.1 + 5.0.2 - + - 5.0.1 + 5.0.2 @@ -383,50 +383,50 @@ - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - + - + - + - 5.0.1 + 5.0.2 - - + + - + - - + + - 5.0.1 + 5.0.2 @@ -442,27 +442,27 @@ - 5.0.1 + 5.0.2 - - + + - - + + - 5.0.1 + 5.0.2 - - + + - 5.0.1 + 5.0.2 @@ -474,185 +474,185 @@ - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - + - 5.0.1 + 5.0.2 - - + + - 5.0.1 + 5.0.2 - - + + - 5.0.1 + 5.0.2 - + - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - + - 5.0.1 + 5.0.2 - + - 5.0.1 + 5.0.2 - - + + - - + + - - + + - 5.0.1 + 5.0.2 - - + + - - + + - 5.0.1 + 5.0.2 - + - + - + - + - + - 5.0.1 + 5.0.2 - + - + - + - 5.0.1 + 5.0.2 - + - + - 5.0.1 + 5.0.2 - + - + - 5.0.1 + 5.0.2 - - - - + + + + - 5.0.1 + 5.0.2 @@ -661,65 +661,65 @@ - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - + - 5.0.1 + 5.0.2 - + - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 @@ -735,42 +735,42 @@ - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - - - + + + - 5.0.1 + 5.0.2 - + - + - + - 5.0.1 + 5.0.2 @@ -780,73 +780,73 @@ - 5.0.1 + 5.0.2 - + - + - + - 5.0.1 + 5.0.2 - + - + - + - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 - + - + - + - 5.0.1 + 5.0.2 @@ -867,11 +867,11 @@ - 5.0.1 + 5.0.2 - 5.0.1 + 5.0.2 @@ -889,13 +889,13 @@ - 5.0.1 + 5.0.2 - + - 5.0.1 + 5.0.2 \ No newline at end of file diff --git a/eng/Baseline.xml b/eng/Baseline.xml index f294d16181..19cbf790b6 100644 --- a/eng/Baseline.xml +++ b/eng/Baseline.xml @@ -1,108 +1,108 @@ - - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 41cfd741de..1ecece8ff4 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -9,37 +9,37 @@ --> - - https://github.com/dotnet/efcore - 494e218127bfb7afee3c9b10a30bcd32d6cd80db + + https://dev.azure.com/dnceng/internal/_git/dotnet-efcore + 1ee6b629b3437c0d45bfe3aa5703abdcc449231f - - https://github.com/dotnet/efcore - 494e218127bfb7afee3c9b10a30bcd32d6cd80db + + https://dev.azure.com/dnceng/internal/_git/dotnet-efcore + 1ee6b629b3437c0d45bfe3aa5703abdcc449231f - - https://github.com/dotnet/efcore - 494e218127bfb7afee3c9b10a30bcd32d6cd80db + + https://dev.azure.com/dnceng/internal/_git/dotnet-efcore + 1ee6b629b3437c0d45bfe3aa5703abdcc449231f - - https://github.com/dotnet/efcore - 494e218127bfb7afee3c9b10a30bcd32d6cd80db + + https://dev.azure.com/dnceng/internal/_git/dotnet-efcore + 1ee6b629b3437c0d45bfe3aa5703abdcc449231f - - https://github.com/dotnet/efcore - 494e218127bfb7afee3c9b10a30bcd32d6cd80db + + https://dev.azure.com/dnceng/internal/_git/dotnet-efcore + 1ee6b629b3437c0d45bfe3aa5703abdcc449231f - - https://github.com/dotnet/efcore - 494e218127bfb7afee3c9b10a30bcd32d6cd80db + + https://dev.azure.com/dnceng/internal/_git/dotnet-efcore + 1ee6b629b3437c0d45bfe3aa5703abdcc449231f - - https://github.com/dotnet/efcore - 494e218127bfb7afee3c9b10a30bcd32d6cd80db + + https://dev.azure.com/dnceng/internal/_git/dotnet-efcore + 1ee6b629b3437c0d45bfe3aa5703abdcc449231f - - https://github.com/dotnet/efcore - 494e218127bfb7afee3c9b10a30bcd32d6cd80db + + https://dev.azure.com/dnceng/internal/_git/dotnet-efcore + 1ee6b629b3437c0d45bfe3aa5703abdcc449231f https://github.com/dotnet/runtime @@ -193,9 +193,9 @@ https://github.com/dotnet/runtime cf258a14b70ad9069470a108f13765e0e5988f51 - - https://github.com/dotnet/runtime - cf258a14b70ad9069470a108f13765e0e5988f51 + + https://dev.azure.com/dnceng/internal/_git/dotnet-runtime + cb5f173b9696d9d00a544b953d95190ab3b56df2 https://github.com/dotnet/runtime @@ -270,9 +270,9 @@ https://github.com/dotnet/runtime cf258a14b70ad9069470a108f13765e0e5988f51 - - https://github.com/dotnet/runtime - cf258a14b70ad9069470a108f13765e0e5988f51 + + https://dev.azure.com/dnceng/internal/_git/dotnet-runtime + cb5f173b9696d9d00a544b953d95190ab3b56df2 https://github.com/dotnet/runtime @@ -294,17 +294,17 @@ Win-x64 is used here because we have picked an arbitrary runtime identifier to flow the version of the latest NETCore.App runtime. All Runtime.$rid packages should have the same version. --> - - https://github.com/dotnet/runtime - b02e13abab3d6f499751af2ad1ae6333fb4e633d + + https://dev.azure.com/dnceng/internal/_git/dotnet-runtime + cb5f173b9696d9d00a544b953d95190ab3b56df2 - - https://github.com/dotnet/runtime - b02e13abab3d6f499751af2ad1ae6333fb4e633d + + https://dev.azure.com/dnceng/internal/_git/dotnet-runtime + cb5f173b9696d9d00a544b953d95190ab3b56df2 - - https://github.com/dotnet/runtime - b02e13abab3d6f499751af2ad1ae6333fb4e633d + + https://dev.azure.com/dnceng/internal/_git/dotnet-runtime + cb5f173b9696d9d00a544b953d95190ab3b56df2 diff --git a/eng/Versions.props b/eng/Versions.props index a00f5ccadc..6a1924cedf 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -8,7 +8,7 @@ 5 0 - 2 + 3 @@ -58,10 +58,10 @@ 5.0.0 - 5.0.1-servicing.20575.16 + 5.0.2-servicing.20611.20 5.0.0 - 5.0.1 - 5.0.1-servicing.20575.16 + 5.0.2 + 5.0.2-servicing.20611.20 5.0.0 5.0.0 5.0.0 @@ -100,7 +100,7 @@ 5.0.0 5.0.0-rtm.20519.4 5.0.0 - 5.0.0 + 5.0.1 5.0.0 5.0.0 5.0.0 @@ -120,20 +120,20 @@ 5.0.0 5.0.0 5.0.0 - 5.0.0 + 5.0.1 5.0.0 5.0.0 5.0.0 - 5.0.1 - 5.0.1 - 5.0.1 - 5.0.1 - 5.0.1 - 5.0.1 - 5.0.1 - 5.0.1 + 5.0.2 + 5.0.2 + 5.0.2 + 5.0.2 + 5.0.2 + 5.0.2 + 5.0.2 + 5.0.2 5.0.0-beta.20580.4 @@ -235,7 +235,7 @@ 2.1.1 2.2.0 - 3.1.10-servicing-20520-4 + 3.1.11-servicing-20569-15 $(MicrosoftAspNetCoreAzureAppServicesSiteExtension31PackageVersion) $(MicrosoftAspNetCoreAzureAppServicesSiteExtension31PackageVersion) diff --git a/eng/common/post-build/publish-using-darc.ps1 b/eng/common/post-build/publish-using-darc.ps1 index 650b13b089..386357bed9 100644 --- a/eng/common/post-build/publish-using-darc.ps1 +++ b/eng/common/post-build/publish-using-darc.ps1 @@ -54,7 +54,7 @@ try { --id $buildId ` --publishing-infra-version $PublishingInfraVersion ` --default-channels ` - --source-branch master ` + --source-branch internal/release-publishing ` --azdev-pat $AzdoToken ` --bar-uri $MaestroApiEndPoint ` --password $MaestroToken ` diff --git a/src/Servers/Kestrel/Core/src/Internal/Infrastructure/TimeoutControl.cs b/src/Servers/Kestrel/Core/src/Internal/Infrastructure/TimeoutControl.cs index 1d9cef950a..79f74e376d 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Infrastructure/TimeoutControl.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Infrastructure/TimeoutControl.cs @@ -89,6 +89,8 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure return; } + var timeout = false; + lock (_readTimingLock) { if (!_readTimingEnabled) @@ -105,10 +107,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure var elapsedSeconds = (double)_readTimingElapsedTicks / TimeSpan.TicksPerSecond; var rate = _readTimingBytesRead / elapsedSeconds; - if (rate < _minReadRate.BytesPerSecond && !Debugger.IsAttached) - { - _timeoutHandler.OnTimeout(TimeoutReason.ReadDataRate); - } + timeout = rate < _minReadRate.BytesPerSecond && !Debugger.IsAttached; } // PauseTimingReads() cannot just set _timingReads to false. It needs to go through at least one tick @@ -120,10 +119,18 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure _readTimingPauseRequested = false; } } + + if (timeout) + { + // Run callbacks outside of the lock + _timeoutHandler.OnTimeout(TimeoutReason.ReadDataRate); + } } private void CheckForWriteDataRateTimeout(long timestamp) { + var timeout = false; + lock (_writeTimingLock) { // Assume overly long tick intervals are the result of server resource starvation. @@ -135,10 +142,13 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure _writeTimingTimeoutTimestamp += extraTimeForTick; } - if (_concurrentAwaitingWrites > 0 && timestamp > _writeTimingTimeoutTimestamp && !Debugger.IsAttached) - { - _timeoutHandler.OnTimeout(TimeoutReason.WriteDataRate); - } + timeout = _concurrentAwaitingWrites > 0 && timestamp > _writeTimingTimeoutTimestamp && !Debugger.IsAttached; + } + + if (timeout) + { + // Run callbacks outside of the lock + _timeoutHandler.OnTimeout(TimeoutReason.WriteDataRate); } }