Skip to content

Sync script changes from the runtime repo #19062

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
2 commits merged into from
Feb 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/Shared/runtime/CopyToAspNetCore.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ IF [%remote_repo%] == [] (

echo ASPNETCORE_REPO: %remote_repo%

robocopy . %remote_repo%\src\Shared\runtime /MIR
robocopy .\..\..\..\..\..\tests\Tests\System\Net\aspnetcore\ %remote_repo%\src\Shared\test\Shared.Tests\runtime /MIR
REM https://superuser.com/questions/280425/getting-robocopy-to-return-a-proper-exit-code
(robocopy . %remote_repo%\src\Shared\runtime /MIR) ^& IF %ERRORLEVEL% LSS 8 SET ERRORLEVEL = 0
(robocopy .\..\..\..\..\..\tests\Tests\System\Net\aspnetcore\ %remote_repo%\src\Shared\test\Shared.Tests\runtime /MIR) ^& IF %ERRORLEVEL% LSS 8 SET ERRORLEVEL = 0
5 changes: 3 additions & 2 deletions src/Shared/runtime/CopyToRuntime.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ IF [%remote_repo%] == [] (

echo RUNTIME_REPO: %remote_repo%

robocopy . %remote_repo%\src\libraries\Common\src\System\Net\Http\aspnetcore /MIR
robocopy .\..\test\Shared.Tests\runtime %remote_repo%\src\libraries\Common\tests\Tests\System\Net\aspnetcore /MIR
REM https://superuser.com/questions/280425/getting-robocopy-to-return-a-proper-exit-code
(robocopy . %remote_repo%\src\libraries\Common\src\System\Net\Http\aspnetcore /MIR) ^& IF %ERRORLEVEL% LSS 8 SET ERRORLEVEL = 0
(robocopy .\..\test\Shared.Tests\runtime %remote_repo%\src\libraries\Common\tests\Tests\System\Net\aspnetcore /MIR) ^& IF %ERRORLEVEL% LSS 8 SET ERRORLEVEL = 0
2 changes: 1 addition & 1 deletion src/Shared/runtime/Http3/QPack/QPackDecoder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ private void OnByte(byte b, IHttpHeadersHandler handler)
}
break;
case State.CompressedHeaders:
switch (BitOperations.LeadingZeroCount(b) - 24)
switch (BitOperations.LeadingZeroCount(b) - 24) // byte 'b' is extended to uint, so will have 24 extra 0s.
{
case 0: // Indexed Header Field
prefixInt = IndexedHeaderFieldPrefixMask & b;
Expand Down