Ben Adams
45b5a04393
Move enumerating extra headers to separate method ( #7706 )
2019-04-08 09:34:07 -07:00
Ben Adams
4ac9001f6e
Safe utf8 string conversion ( #9131 )
2019-04-05 22:12:13 -07:00
Ben Adams
77380fb27b
React to "Shrink StringValues" ( #8864 )
2019-04-05 12:12:08 -07:00
David Fowler
4f1104363e
Make TestServer IAsyncDisposable ( #9059 )
...
- This should make it a bit more maintainable than it is today (having to call server.StopAsync before Dispose calls it synchronously)
2019-04-04 10:07:03 -07:00
Stephen Halter
f8835ab934
Merge branch 'release/2.2'
2019-04-02 10:45:20 -07:00
dotnet-bot
f352ea5da7
Merge in 'release/2.2' changes
2019-03-31 22:34:13 +00:00
Justin Kotalik
010139ac8a
Limit chunk size when writing chunked responses ( #8837 )
2019-03-29 16:34:26 -07:00
Chris Ross
e881ee58c0
Mark Flaky http.sys tests Internal/#1826 ( #8890 )
2019-03-28 15:59:59 -07:00
Stephen Halter
a170820017
Merge branch 'release/2.1' into release/2.2
2019-03-28 15:15:51 -07:00
Stephen Halter
062cfac384
Mark some Http2TimeoutTests as flaky ( #8875 )
...
* DATA_Sent_TooSlowlyDueToSocketBackPressureOnSmallWrite_AbortsConnectionAfterGracePeriod
* AbortedStream_ResetsAndDrainsRequest_RefusesFramesAfterCooldownExpires
2019-03-28 14:53:47 -07:00
Justin Kotalik
a5791da8d3
Fix ContentLength_Received_ReadViaPipes ( #8893 )
2019-03-28 14:14:36 -07:00
Chris Ross
248d4e70a2
Add missing copyright in IntegrationTesting ( #8891 )
2019-03-28 13:23:06 -07:00
Stephen Halter
2b80b9fa01
Attempt to make MaxRequestBufferSizeTests.LargeUpload less flaky ( #8582 )
...
This is for the release/2.1 branch, but should probably be ported forward to master so the test can be unskipped.
Fixes https://github.com/aspnet/AspNetCore-Internal/issues/1775 (hopefully)
See https://github.com/aspnet/AspNetCore-Internal/issues/1970 for the master version.
2019-03-28 11:42:45 -07:00
Ryan Brandenburg
7248ecbaf1
Make some skipped tests flaky ( #8795 )
2019-03-27 10:20:16 -07:00
Ryan Brandenburg
70cd5f5f9f
Mark tests flaky instead of skipped ( #8727 )
...
Mark tests flaky instead of skipped
2019-03-26 09:51:37 -07:00
BrennanConroy
969c72acfd
C++ client low level API ( #8420 )
2019-03-25 13:52:38 -07:00
Justin Kotalik
7a1a53d76d
React to sem version 2.0 ( #8725 )
2019-03-24 14:17:06 -07:00
Pranav K
9a35bbea03
Experience for Razor SDK ( #8731 )
...
* Experience for Razor SDK
* Remove Components.Build
* Update MVC projects and templates to use AddRazorSupportForMvc
* Update components templates to use .razor extension
Fixes https://github.com/aspnet/AspNetCore/issues/6392
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190321.3
- Microsoft.NET.Sdk.Razor - 3.0.0-preview4.19171.3
- Microsoft.CodeAnalysis.Razor - 3.0.0-preview4.19171.3
- Microsoft.AspNetCore.Razor.Language - 3.0.0-preview4.19171.3
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0-preview4.19171.3
* Update dependencies from https://github.com/dotnet/core-setup build 20190322.01
- Microsoft.NETCore.App - 3.0.0-preview4-27522-01
Dependency coherency updates
- Microsoft.Bcl.Json.Sources - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- Microsoft.CSharp - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- Microsoft.Win32.Registry - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.ComponentModel.Annotations - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Data.SqlClient - 4.7.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Diagnostics.EventLog - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.IO.Pipelines - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Net.Http.WinHttpHandler - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Net.WebSockets.WebSocketProtocol - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Reflection.Metadata - 1.7.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Runtime.CompilerServices.Unsafe - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Security.Cryptography.Cng - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Security.Cryptography.Pkcs - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Security.Cryptography.Xml - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Security.Permissions - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Security.Principal.Windows - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.ServiceProcess.ServiceController - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Text.Encodings.Web - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- System.Threading.Channels - 4.6.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
- Microsoft.Extensions.DependencyModel - 3.0.0-preview4-27522-01 (parent: Microsoft.NETCore.App)
- Microsoft.NETCore.Platforms - 3.0.0-preview4.19164.7 (parent: Microsoft.NETCore.App)
* Update dependencies from https://github.com/aspnet/EntityFrameworkCore build 20190321.4
- Microsoft.EntityFrameworkCore.Tools - 3.0.0-preview4.19171.4
- Microsoft.EntityFrameworkCore.SqlServer - 3.0.0-preview4.19171.4
- dotnet-ef - 3.0.0-preview4.19171.4
- Microsoft.EntityFrameworkCore - 3.0.0-preview4.19171.4
- Microsoft.EntityFrameworkCore.InMemory - 3.0.0-preview4.19171.4
- Microsoft.EntityFrameworkCore.Relational - 3.0.0-preview4.19171.4
- Microsoft.EntityFrameworkCore.Sqlite - 3.0.0-preview4.19171.4
* Update dependencies from https://github.com/aspnet/Extensions build 20190321.4
- Mono.WebAssembly.Interop - 3.0.0-preview4.19171.4
- Microsoft.JSInterop - 3.0.0-preview4.19171.4
- Microsoft.Internal.Extensions.Refs - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Diagnostics.HealthChecks - 3.0.0-preview4.19171.4
- Microsoft.Extensions.DiagnosticAdapter - 3.0.0-preview4.19171.4
- Microsoft.Extensions.DependencyInjection.Abstractions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.DependencyInjection - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.Xml - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.UserSecrets - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.KeyPerFile - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.Json - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.Ini - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.FileExtensions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.EnvironmentVariables - 3.0.0-preview4.19171.4
- Microsoft.Extensions.FileProviders.Abstractions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.CommandLine - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.AzureKeyVault - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.Abstractions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration - 3.0.0-preview4.19171.4
- Microsoft.Extensions.CommandLineUtils.Sources - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Caching.StackExchangeRedis - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Caching.SqlServer - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Caching.Memory - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Caching.Abstractions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.ActivatorUtilities.Sources - 3.0.0-preview4.19171.4
- Microsoft.AspNetCore.Testing - 3.0.0-preview4.19171.4
- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.0.0-preview4.19171.4
- Microsoft.AspNetCore.Analyzer.Testing - 3.0.0-preview4.19171.4
- Internal.AspNetCore.Analyzers - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Configuration.Binder - 3.0.0-preview4.19171.4
- Microsoft.Extensions.FileProviders.Composite - 3.0.0-preview4.19171.4
- Microsoft.Extensions.FileProviders.Embedded - 3.0.0-preview4.19171.4
- Microsoft.Extensions.FileProviders.Physical - 3.0.0-preview4.19171.4
- Microsoft.Extensions.WebEncoders - 3.0.0-preview4.19171.4
- Microsoft.Extensions.ValueStopwatch.Sources - 3.0.0-preview4.19171.4
- Microsoft.Extensions.TypeNameHelper.Sources - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Primitives - 3.0.0-preview4.19171.4
- Microsoft.Extensions.ParameterDefaultValue.Sources - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Options.DataAnnotations - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Options.ConfigurationExtensions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Options - 3.0.0-preview4.19171.4
- Microsoft.Extensions.ObjectPool - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging.TraceSource - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging.Testing - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging.EventSource - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging.Debug - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging.Console - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging.Configuration - 3.0.0-preview4.19171.4
- Microsoft.Extensions.FileSystemGlobbing - 3.0.0-preview4.19171.4
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.0.0-preview4.19171.4
- Microsoft.Extensions.HostFactoryResolver.Sources - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Hosting - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Hosting.Abstractions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Http - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Localization - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Localization.Abstractions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging.Abstractions - 3.0.0-preview4.19171.4
- Microsoft.Extensions.Logging.AzureAppServices - 3.0.0-preview4.19171.4
* Grab latest from other aspnet repos
- brings everything into coherence
- aspnet/Extensions packages with version 3.0.0-preview4.19172.1 from build 20190322.1
- aspnet/AspNetCore-Tooling packages with version 3.0.0-preview4.19172.2 from build 20190322.2
- aspnet/EntityFrameworkCore packages with version 3.0.0-preview4.19172.3 from build 20190322.3
2019-03-22 17:33:20 -07:00
Sebastien Ros
1fb26a6467
Fixing NETCore.App version in benchmarks
2019-03-22 16:49:09 -07:00
Justin Kotalik
26a118e462
Allow more time to see if events are in the event log ( #8729 )
2019-03-22 14:47:39 -07:00
Justin Kotalik
2018b82ffe
React to breaking changes with M.A.Internal ( #8638 )
2019-03-22 14:41:06 -07:00
Andrew Stanton-Nurse
e61aa05b72
Fix #7477 by updating HttpSys readme ( #8662 )
...
We changed the README to "archived" before merging this repo into mondo repo. Whoops :).
2019-03-20 09:33:31 -07:00
Justin Kotalik
2d145682ce
Update some tests to be flaky rather than skipped ( #8666 )
2019-03-20 08:59:43 -07:00
Justin Kotalik
b8e7cbad02
Remove Out-Of-Process test site fixture and make deployer check physical ( #8659 )
2019-03-20 08:33:26 -07:00
Justin Kotalik
9f724f6ac4
Revert "Publish MusicStore as part of build ( #8578 )" ( #8655 )
...
This reverts commit f3eaa73c1a .
2019-03-19 11:03:48 -07:00
Justin Kotalik
26c487b0c0
Use examined rather than consumed for content length of body. ( #8223 )
2019-03-19 08:25:57 -07:00
Pranav K
f3eaa73c1a
Publish MusicStore as part of build ( #8578 )
...
* Publish MusicStore as part of build
* Add a target to publish MusicStore as part of E2E tests
* Publishing for x86 causes unit tests in MusicStore to have weird
reference issues. Removing these since they are very pretty low value.
2019-03-19 07:17:55 -07:00
Justin Kotalik
a3c8bd16f7
Make Kestrels Internals truly internal. ( #8517 )
2019-03-18 10:15:39 -07:00
Justin Kotalik
8349109647
Atomic swap the request drained handler when shutting down. ( #8529 )
2019-03-17 10:09:04 -07:00
Justin Kotalik
7569f14dd9
Lock when removing disconnect handler
2019-03-14 22:32:10 +00:00
Pavel Krymets
a673be3b9a
Log all event log entries when assert fails ( #8491 )
2019-03-14 11:59:45 -07:00
Justin Kotalik
1679ba7844
Fix AppOfflineDroppedWhileSiteStarting_SiteShutsDown_InProcess ( #8419 )
2019-03-13 14:59:41 -07:00
Justin Kotalik
9791f5e244
Refresh process ( #8459 )
2019-03-13 10:14:07 -07:00
Justin Kotalik
17d072fa30
Send window updates based on examined rather than consumed. ( #8200 )
2019-03-12 22:00:47 -07:00
Justin Kotalik
16cd69f164
Disable framework exception on back compat tests ( #8460 )
2019-03-12 21:59:29 -07:00
Ben Adams
a95c4b6fd0
ReadOnlySpan goodness ( #8392 )
2019-03-11 22:28:20 -07:00
Andrew Stanton-Nurse
c9c2bf6ea5
even more skipping! ( #8286 )
2019-03-11 14:50:35 -07:00
Pavel Krymets
b2a58ab8de
Skip IIS Express on Windows 7 ( #8330 )
...
https://github.com/aspnet/AspNetCore/issues/8329
2019-03-11 08:44:28 -07:00
Stephen Halter
1ac6f3d4fd
Properly update examined when parsing chunked requests (part 2) ( #8360 )
2019-03-08 22:24:02 -08:00
David Fowler
bd6faa5ca1
Chunked request parsing does not properly update examined ( #8318 )
...
- The chunked parsing logic didn't properly update the examined position when parsing the chunked prefix. This started to throw because Pipe now throws if examined is set to the position before the previous.
2019-03-08 09:42:02 -08:00
Justin Kotalik
bae2f2280a
Make StartAsync not throw if we haven't started the response ( #8199 )
2019-03-07 18:32:19 -08:00
Justin Kotalik
02dbe55466
Fix StartsWithPortableAndBootstraperExe ( #8219 )
2019-03-06 11:59:42 -08:00
David Fowler
4c79e7fdc0
Rename Pipe properties ( #8227 )
...
* Rename Pipe properties
- Rename BodyPipe to BodyReader and BodyWriter on the request and response directly
2019-03-06 07:33:24 -08:00
Andrew Stanton-Nurse
303a354993
skip another flaky kestrel test in helix ( #8216 )
...
related #8215
2019-03-05 15:09:56 -08:00
Pavel Krymets
2665f6d238
Isolate message compiler output files ( #8197 )
2019-03-05 11:27:09 -08:00
David Fowler
d1ee93b94b
Allow disabling automatic MVC reference ( #8167 )
2019-03-05 09:19:28 -08:00
Andrew Stanton-Nurse
e0dbc21ccc
skip flaky Kestrel ValidationFailureRejectsConnection test on Helix ( #8170 )
...
See #8168 for details on the failure and discussions on priority of unskipping.
2019-03-05 08:23:58 -08:00
Justin Kotalik
d09c6e8576
Disable ConfigurationChange Test ( #8113 )
2019-03-04 16:58:28 -08:00
Ben Adams
19b52bdc8b
Elide bounds check for MethodToString ( #7887 )
2019-03-04 16:44:21 -08:00
Andrew Stanton-Nurse
4aad7548c1
skip Libuv.FunctionalTests RemoteIPv6Address on Helix ( #8111 )
2019-03-01 18:37:51 -08:00
Andrew Stanton-Nurse
6e8a9f6d6a
Skip flaky clientcert test in Kestrel ( #8112 )
...
related #7265
flaked out in https://github.com/aspnet/AspNetCore/pull/7987
2019-03-01 18:37:23 -08:00
Justin Kotalik
fc9e48877c
Add FormPipeReader ( #7964 )
2019-03-01 14:41:05 -08:00
Andrew Stanton-Nurse
8cd36953ef
skip flaky HttpSys test in helix ( #8092 )
...
Related to #8091
2019-03-01 12:20:59 -08:00
Justin Kotalik
a7f1cc1b2a
Redisable AbortedStream_ResetsAndDrainsRequest_RefusesFramesAfterCooldownExpires ( #8082 )
2019-03-01 10:10:14 -08:00
Hao Kung
3b16c69786
Skip NodeServices tests on helix ( #8045 )
...
NodeJs not installed on helix boxes by default currently
https://github.com/aspnet/AspNetCore/issues/8044 tracking this skip
2019-03-01 09:37:43 -08:00
Justin Kotalik
32aebef4d1
Disable any flaky IIS tests ( #8050 )
2019-03-01 08:19:26 -08:00
Justin Kotalik
3509323ad1
Remove extra await/state machine in FlushAsync ( #7646 )
2019-02-28 22:42:42 -08:00
Justin Kotalik
555e460c15
Fix flaky AbortedStream test in Kestrel ( #8010 )
2019-02-27 20:55:10 -08:00
Stephen Halter
896c027010
Increase shutdown timeout in Kestrel's other TestServer ( #8011 )
2019-02-27 18:15:25 -08:00
BrennanConroy
a936d77845
Automatically capture crashdumps for C++ client tests ( #7940 )
2019-02-27 14:20:14 -08:00
Pavel Krymets
783131a750
Re-enable full IIS tests on Windows.10.Amd64.EnterpriseRS3.ASPNET.Open ( #7959 )
2019-02-27 11:03:41 -08:00
Sébastien Ros
fd83f4dbb9
Using <FrameworkReference> in benchmark apps ( #7957 )
2019-02-27 10:27:01 -08:00
Justin Kotalik
bbe4a9d071
Call Complete on Http2Stream when stream is done earlier ( #7933 )
2019-02-26 18:24:35 -08:00
Hao Kung
a2c8a34556
Reenable some helix tests ( #7763 )
...
* Fix identity UI script tests on helix
* Add OnHelix static helper method
2019-02-25 23:39:46 -08:00
Ben Adams
423de42849
Use less stack for HttpResponseHeaders.CopyToFast ( #7724 )
2019-02-25 17:41:12 -08:00
John Beisner
f0cb6cc68b
Modify the 'InstallLocation' registry key. ( #7877 )
...
Before = SOFTWARE\dotnet\Setup\InstalledVersions\<arch>\sdk
After = SOFTWARE\dotnet\Setup\InstalledVersions\<arch>
2019-02-25 11:05:00 -08:00
Pavel Krymets
78bc2a10b9
Reenable IISExpress on helix ( #7586 )
2019-02-25 09:05:19 -08:00
Nate McMaster
f2658821b5
React to System.Runtime.CompilerServices.Unsafe moving into Microsoft.NETCore.App
...
React to dotnet/corefx#35526
2019-02-24 15:37:03 -08:00
Pavel Krymets
f1b188611a
Fix generated code ( #7883 )
2019-02-22 18:15:13 -08:00
Nate McMaster
7fe3b7640d
Merge branch 'release/3.0-preview3'
2019-02-22 15:07:50 -08:00
Justin Kotalik
57092e96ac
Implement Kestrel Request PipeReader ( #7603 )
2019-02-22 08:26:23 -08:00
Pavel Krymets
9355c7c1a5
Add reference assemblies support ( #7764 )
2019-02-21 14:33:35 -08:00
Stephen Halter
001b6ea08a
Use .NET Core SequenceReader ( #7003 )
...
* Use .NET Core SequenceReader
Remove BufferReader and use SequenceReader<T> which now ships in CoreFX.
This is related to https://github.com/aspnet/KestrelHttpServer/pull/3068 which builds on the functionality added to the reader.
* Use var
2019-02-20 14:39:45 -08:00
Nate McMaster
9a2db43848
Follow-up to VS2019 conversion ( #7753 )
...
* Set VS version in file to 16.0.0.0
* Fix for restore failure on Microsoft.AspNetCore.App.Runtime.csproj
2019-02-20 11:02:38 -08:00
Nate McMaster
85ae18c723
Make Visual Studio 2019 a prerequisite to building this repo ( #7005 )
...
Changes:
* Make Visual Studio 2019 a prerequisite for building this repo
* Update .sln files
* Update Windows SDK to 17134
* Update developer docs
* Disable ANCM tests
* Update to .NET Core SDK 3.0 Preview 2
* Use Microsoft.NET.Sdk.Razor as a package consistently accross the repo
* React to changes in metadata from Microsoft.NETCore.App
* React to changes in .NET Core SDK
* Attempt to workaround CodeCheck.ps1 failure which doesn't repro locally or on different agents. Possibly due to differences in the version of the PowerShell task?
* Remove dead YML file
* Rename usages of win7-{x64,x86} to win-{x64,x86}
* Update KoreBuild to 3.0.0-build-20190219.1
2019-02-20 09:53:53 -08:00
Chris Ross
4e44025a52
Replace IHostingEnvironment with IWebHostEnvironment ( #7725 )
2019-02-19 21:11:52 -08:00
Doug Bunting
3e0c75187c
Place limits on model binding collection size and recursion depth ( #7214 )
...
- #7052
- add MvcOptions.MaxModelBindingCollectionSize` and `MvcOptions.MaxModelBindingRecursionDepth`
nits:
- update syntax of a few `Resources.Designer.cs` files (I ran `/t:resx` on Mvc.sln)
- take VS suggestions in a few test classes
2019-02-19 15:17:56 -08:00
Ben Adams
3e47fa7c69
Inline BufferWriter .ctor ( #7674 )
2019-02-17 21:30:29 -08:00
Ben Adams
6b7e821913
Don't hardcode fixed size for GetMemory in ChunkedTests
2019-02-17 09:29:57 -08:00
Justin Kotalik
49a720c1dc
Fix GetMemory to not pass in size hint
2019-02-17 09:29:57 -08:00
Ben Adams
639d290b19
Lock-free IOQueue ( #6154 )
...
Second half of https://github.com/aspnet/AspNetCore/pull/4060
2019-02-15 18:26:30 -08:00
Chris Ross
191fb03de7
ITlsHandshakeFeature requires Win8+ ( #7629 )
2019-02-15 16:28:04 -08:00
Chris Ross
93a24b03bb
Disable AllowSynchronousIO by default in all servers #4774 ( #5120 )
...
* Disable AllowSynchronousIO by default in all servers
2019-02-15 16:05:49 -08:00
Pavel Krymets
9afdc48f13
Disable remote symbol loading for dump files in CI ( #7620 )
2019-02-15 14:42:36 -08:00
Chris Ross
cc62bcebfc
Skip HttpSys.Https tests on Helix Internal/#1816 ( #7578 )
2019-02-15 12:33:23 -08:00
Pavel Krymets
6bafb7cb6f
Log before releasing streams and firing tokens ( #7583 )
...
Might fix: https://github.com/aspnet/AspNetCore-Internal/issues/1659
I think writes complete too fast so we don't observe when the message gets logged
2019-02-15 10:41:21 -08:00
Justin Kotalik
25f1f59378
Make first write use the same BufferWriter ( #7505 )
2019-02-15 08:26:57 -08:00
Chris Ross
44e6813452
Use new version of h2spec #6691 ( #7559 )
2019-02-14 09:28:58 -08:00
Stephen Halter
132a1ad31b
Remove capture of "this" from local function ( #7467 )
2019-02-14 00:21:39 -08:00
Pranav K
27e54a1b7a
Skipping flaky test
2019-02-13 16:45:36 -08:00
Jeremy Kuhne
a02ac20183
Use var
2019-02-13 16:20:34 -08:00
Jeremy Kuhne
2c649b2409
Use .NET Core SequenceReader
...
Remove BufferReader and use SequenceReader<T> which now ships in CoreFX.
This is related to https://github.com/aspnet/KestrelHttpServer/pull/3068 which builds on the functionality added to the reader.
2019-02-13 16:20:34 -08:00
Nate McMaster
338de4710a
Automatically set 'PrivateAssets=All' for .Sources references ( #7539 )
...
When a `<Reference>` is named `*.Sources`, set PrivateAssets=All (exclude from generated nuspec) and IncludeAssets=ContentFiles (only consume content files, not .dll's)
2019-02-13 14:31:15 -08:00
Pranav K
cddbc2e888
Improve Components error handling ( #7165 )
...
* Improve Components error handling
* Change event handlers IHandleEvent, IHandleAfterEvent to be async.
* Return faulted tasks to Renderer instead of handling exceptions in ComponentBase
* Use ILogger in RemoteRenderer, and log to console in WebAssemblyRenderer
* Cleaning up touched files
Fixes https://github.com/aspnet/AspNetCore/issues/4964
2019-02-13 14:22:46 -08:00
Chris Ross
06d7fe73a9
Implement ITlsHandshakeFeature for HttpSys ( #7284 )
2019-02-13 08:39:45 -08:00
Nate McMaster
3fd8a97af2
Add targets to generate the list of shared framework assemblies from project property ( #7510 )
...
Changes:
* Add support for a property, `IsAspNetCoreApp`, in the .csproj file of assemblies which are part of the shared framework.
* Remove unused dependencies
* Remove reference which have become part of 'netcoreapp3.0'
2019-02-12 23:00:19 -08:00
Justin Kotalik
e5f31f264c
Another spot
2019-02-11 15:10:30 -08:00
Justin Kotalik
371c29577b
Another spot
2019-02-11 14:42:02 -08:00
Justin Kotalik
84cdac952a
AsTask => GetAsTask()
2019-02-11 13:58:25 -08:00
David Fowler
a5ba735a0f
Remove PlatformBenchmarks from sln ( #7440 )
2019-02-11 12:38:20 -08:00
Pavel Krymets
037a5b0231
Add more logging to a failing tests and move dumps to logs directory ( #7462 )
2019-02-11 12:14:05 -08:00
Ben Adams
3276870d6a
Remove unnecessary Flush ( #7424 )
2019-02-11 11:02:00 -08:00
Ben Adams
6d42ff7c38
Don't write empty data for Flush ( #7415 )
2019-02-11 11:01:36 -08:00
Ben Adams
704094b199
Use C#7.3's ReadOnlySpan<byte> optimization for static data ( #7422 )
2019-02-11 07:40:40 -08:00
Martin Costello
e465013063
Remove local item group ( #7412 )
...
Remove local development item group accidentally added by #7110 .
2019-02-09 12:13:32 -08:00
David Fowler
8f49bdf195
More efficient preface parsing ( #7406 )
...
- Slice before turning the buffer into a Span
- Use SequenceEqual instead of a loop
2019-02-08 21:13:42 -08:00
Justin Kotalik
35b99e44ce
Expose HttpResponse PipeWriter in Kestrel ( #7110 )
2019-02-08 17:24:26 -08:00
Ben Adams
b2f850aa82
Remove extraneous call to GetMemory ( #7379 )
2019-02-08 08:06:17 -08:00
Chris Ross
efb5923120
Enable verbose h2spec logs ( #7361 )
2019-02-08 08:03:42 -08:00
Andrew Arnott
3d4b198990
Add xml doc comments for BufferWriter struct ( #7350 )
2019-02-07 18:33:03 -08:00
Hao Kung
26acbc3861
Reorganize helix files ( #7353 )
2019-02-07 16:27:48 -08:00
Stephen Halter
a677464ed0
Merge branch 'release/2.2'
2019-02-07 15:41:08 -08:00
Andrew Arnott
21177671b6
Remove extraneous call to GetMemory in BufferWriter ( #7354 )
...
The BufferWriter called GetMemory(count) and dropped the result, only to then call GetSpan(). This moves the count argument to GetSpan, and drops the call to GetMemory.
2019-02-07 15:31:33 -08:00
John Luo
92f21dbda0
Unset reserved bit when setting 31 bit uint values ( #7339 )
...
* Unset reserved bit when setting 31 bit uint values
* Add FrameWriter tests
* Add overload
2019-02-07 12:50:53 -08:00
Stephen Halter
9c41d5b48f
Fix flaky CanUpgradeRequestWithConnectionKeepAliveUpgradeHeader test ( #7323 )
...
* Randomize MockSystemClock
2019-02-07 11:56:10 -08:00
Hao Kung
c9499e14e4
Run helix tests on master ( #6728 )
2019-02-07 09:20:08 -08:00
John Mazouri
2345c837ce
Fix typo in HttpSysOptions.cs ( #7207 )
...
`infiniate` => `infinite` in ArgumentOutOfRangeException message.
2019-02-07 09:19:22 -08:00
Pavel Krymets
5cd72c1fb2
Remove ANCMV1 from everywhere ( #7334 )
2019-02-07 09:06:27 -08:00
Justin Kotalik
07ef2d881f
Remove misleading websocket error log ( #7249 )
2019-02-07 08:26:10 -08:00
BrennanConroy
744a32a750
SignalR C++ tests passing and part of build ( #7160 )
2019-02-06 17:23:23 -08:00
Pavel Krymets
0211e894fe
Use Win32 as native platform ( #7309 )
2019-02-06 12:17:55 -08:00
Nate McMaster
075612b988
Install the .NET Core SDK into the repo root instead of UserProfile and 'install' copy of AspNetCore shared framework ( #7293 )
...
This is required to workaround several limitations in the way the .NET Core SDK finds shared frameworks and targeting packs. It allow tests to use shared frameworks and targeting packs.
It also matches the patterns established in other aspnet and dotnet repos. This should reduce the friction required to adopt Arcade SDK.
## Changes
* This moves the default location of the .NET Core SDK installation into `$repoRoot/.dotnet`. This location was already in use for CI builds.
* Update the build step for Microsoft.AspNetCore.App to install the shared framework into the local copy of the .NET Core SDK
## Recommendations
* Use the "startvs.cmd" script to launch Visual Studio. This will set required environment variables to make VS happier than if you just double click the .sln file.
* Use "activate.sh/ps1" if you want to run `dotnet build`, `dotnet test` and other dotnet commands. These will set required environment variables, including PATH.
* I recommend removing %USERPROFILE%/.dotnet to your PATH variable if you had added it manually before. This will no longer match what build tools will install.
* `git clean -xfd -e .dotnet/` preserves the folder so you don’t have to re-download the SDK again.
2019-02-06 11:20:49 -08:00
Chris Ross
7bd5297cfa
Re-enable h2spec tests with more diagnostics Internal/#1720 ( #7259 )
2019-02-05 16:18:12 -08:00
Pavel Krymets
6a46f48eb0
Add support for suspending ANCM startup ( #7252 )
...
Uses the `ASPNETCORE_STARTUP_SUSPEND_EVENT` environment variable to get an event name.
Fixes: https://github.com/aspnet/AspNetCore/issues/6972
2019-02-05 15:41:45 -08:00
Stephen Halter
bf24899592
Auto-set "Content-Length: 0" on 205 responses ( #7205 )
2019-02-05 13:45:08 -08:00
Pavel Krymets
e3e9b120b3
Reenable tests that are though to be fixed ( #7254 )
...
ReaderThrowsCancelledException might be fixed by https://github.com/aspnet/AspNetCore/pull/6862
DoesNotStartIfDisabled was fixed by https://github.com/aspnet/AspNetCore/pull/7068
Also remove some extreme diagnostic features added in https://github.com/aspnet/AspNetCore/pull/7068
2019-02-05 09:20:45 -08:00
Pavel Krymets
f888a37712
More logs in forwardinghandler.cpp ( #7244 )
2019-02-04 11:21:58 -08:00
David Fowler
9f202feafc
Rename IHttpContextContainer to IDefaultHttpContextContainer ( #7217 )
...
- Renamed since the property has to be a DefaultHttpContext
2019-02-02 22:31:49 -08:00
Sébastien Ros
61bc18fee3
Exclude benchmark apps from builds ( #7171 )
2019-02-01 17:57:47 -08:00
Pavel Krymets
35746adf68
Allow test projects to run standalone ( #7144 )
2019-02-01 15:19:49 -08:00
Gérald Barré
f1b24ccb92
Replace unsafe code with string.Create for hex generation ( #6784 )
2019-02-01 10:06:20 -08:00
James Newton-King
574be0d22c
Add readonly modifier to readonly structs ( #7169 )
2019-02-01 15:04:25 +13:00
Nate McMaster
6081fec894
Add new build.cmd/sh options for suppressing restore, NodeJS, setting target arch and OS name, and more ( #7137 )
...
Add new command line parameters for working with the project:
* `-NoBuild`, `-NoRestore` - these already existed, but users found it hard to discover this powershell syntax: '-build:$false'
* `-Arch`/`--arch` - set the target CPU architecture to build. Defaults to x64
* `--os-name` - on non-Windows builds, manually specify if the build should target Alpine. generic Linux, or MacOS
* Rename flags used to build specific project types. The pattern now is `--build-$(group)` or `--no-build-$(group)` (In PowerShell its `-Build$(Group)` or `-NoBuild$(Group). Example: -NoBuildJava
Changes to build definitions:
* Update the ci build definition to build all supported architectures
* Support publishing multiple artifacts per job
Other changes:
* `-NoBuild` implies `-NoRestore`
* Add new properties, `TargetArchitecture`, `TargetOsName`, and `TargetRuntimeIdentifier`
* Replace usages of `SharedFxRid` with these new properties
* To make `--no-build-nodejs` actually work, replaced Components.Browser.JS.csproj with Components.Browser.JS.npmproj
* Fix errors when building for win-arm on a clean machine
* Fix a few other project errors, like using the wrong syntax for DefaultItemExcludes, or using the wrong Platform value for x86
2019-01-31 15:47:47 -08:00
Stephen Halter
4539b0d2c3
Increase shutdown timeout in Kestrel TestServer ( #7082 )
...
* Never use a null abort reason
2019-01-29 16:13:37 -08:00
Pavel Krymets
1ecc8dd9c6
Remove AspNetCoreModule V1 ( #7071 )
2019-01-29 08:20:00 -08:00
BrennanConroy
a8f1b034d8
Pass in auth type for WindowsAuth in out of proc ( #7074 )
2019-01-28 20:06:23 -08:00
Justin Kotalik
1222d8de49
Add StartAsync() to HttpResponse; ImplementFeature in Kestrel ( #6967 )
2019-01-28 17:42:04 -08:00
Pavel Krymets
963508b9b9
Add more logging to iis graceful shutdown ( #7068 )
2019-01-28 16:23:55 -08:00
Pavel Krymets
f06e1822f5
Enable strict mode in roslyn compiler ( #6950 )
2019-01-28 15:56:27 -08:00
Justin Kotalik
7a98a04c53
Drain requests in native instead of managed for IIS In-process ( #6816 )
2019-01-28 15:20:28 -08:00
David Fowler
447f4bc298
Reuse the stack for OnCompleted and OnStarting calls ( #6833 )
...
- Reviewing profiles for MVC and other things that use RegisterForDispose, this shows up as a significant amount of allocations.
2019-01-28 20:37:11 +00:00
David Fowler
549f8e1773
Remove over engineered callback writing and just write chunks directly. ( #6901 )
2019-01-28 20:36:47 +00:00
Chris Ross
7d4b6fccff
Clean up ManualResetEvent usage in tests ( #6961 )
2019-01-28 12:10:16 -08:00
Pavel Krymets
440204892e
Use published apps in IIS tests ( #7027 )
2019-01-28 12:02:42 -08:00
Nate McMaster
ac04019e42
Remove obsolete build infrastructure ( #6995 )
...
Changes:
* Remove obsolete targets which are unnecessary now that this repo no longer builds git submodules in a separate build process
* Remove the need for static analysis of 'ArtifactInfo' items
* Simplify how the code signing task is configured
* Remove unused repo tasks
* Remove duplicate lists of external dependencies and packages to be produced
* Remove obsolete build definition
* Remove obsolete build script parameters
* Add VisualStudioSetupOutputPath
2019-01-28 09:57:59 -08:00
Chris Ross
6c5e0cae67
Skip kestrel h2spec tests ( #7035 )
2019-01-28 09:36:05 -08:00
Pavel Krymets
141f3d8781
Reenable application initialization module tests ( #7024 )
2019-01-28 09:24:42 -08:00
Pavel Krymets
3ea1f6a0e9
Disable ResponseFormats_Chunked test ( #6952 )
2019-01-25 21:03:18 -08:00
Chris Ross
2b7c26a123
Dynamically install NGinx Internal/#1525 ( #6963 )
2019-01-25 14:32:32 -08:00
Pavel Krymets
ebb7f3ade3
Harden IISExpress shutdown code ( #7004 )
2019-01-25 09:19:51 -08:00
Nate McMaster
5a0e227fad
Merge branch 'release/2.2'
2019-01-24 16:14:55 -08:00
Stephen Halter
2853b451a2
Add RequestAbortedTokenIsUsableAfterCancellation test
2019-01-24 12:38:16 -08:00
Stephen Halter
5d554aeecd
Revert "Wait to dispose RequestAborted CTS ( #4447 )"
...
This reverts commit 0622513058 .
2019-01-24 11:23:58 -08:00
Chris Ross
24f37a9619
[automated] Merge branch 'release/2.2' => 'master'
2019-01-23 11:40:55 -08:00
Chris Ross
1fe7f5e02a
Make auth schemes const #5884 #6020 ( #6934 )
2019-01-22 15:04:10 -08:00
Chris Ross
f4c5ac7635
Move Kestrel.Core.Tests to their own test group ( #6927 )
2019-01-22 12:41:12 -08:00
Chris Ross
31d57a5756
Move Kestrel Sockets tests to their own group ( #6869 )
2019-01-22 08:58:33 -08:00
Pavel Krymets
f83f3bca08
Lock when removing disconnect handler ( #6862 )
2019-01-18 20:25:56 -08:00
John Luo
8c06f04d50
Call StopAsync before disposing ( #6189 ) ( #6866 )
2019-01-18 18:30:54 -08:00
Pavel Krymets
8006e2d07f
More logging in IISExpress shutdown ( #6854 )
2019-01-18 14:29:07 -08:00
Justin Kotalik
707f06ead8
Address flaky ANCMV1 tests ( #6844 )
2019-01-18 14:22:56 -08:00
Nate McMaster
922512a9fb
Convert the artifacts folder layout to match Arcade ( #6850 )
...
Changes:
* IsProductPackage => IsShippingPackage
* artifacts/$config/packages => artifacts/packages/$config
* packages/product => packages/Shipping
* packages/internal => packages/NonShipping
* Renamed MSBuild properties used for output folders
* Update build tools to use 2 spaces in global.json
2019-01-18 13:38:24 -08:00
Stephen Halter
7d4ae6049f
Revert "Revert "Wait to dispose RequestAborted CTS ( #4447 )"" ( #6812 )
...
This reverts commit 29b7c5c030 .
2019-01-17 16:22:03 -08:00
Ryan Brandenburg
49a2de9e59
Remove old properties ( #6396 )
...
* Remove AspNetCoreHostingModel which is now redundant
* Remove NETCoreAppMaximumVersion
2019-01-17 13:42:28 -08:00
Sourabh Shirhatti
17e5be6fbc
Clean up event log strings for ANCM ( #4515 )
2019-01-16 16:18:01 -08:00
Pavel Krymets
6cac028716
Switch IIS tests to Hosted queue ( #6746 )
2019-01-16 11:47:52 -08:00
Justin Kotalik
8119c57669
Always copy nuget package output to build directory ( #6631 )
2019-01-16 10:45:45 -08:00
Pavel Krymets
41c1490468
Add an event log message when loading hostfxr fails ( #6670 )
2019-01-15 15:07:51 -08:00
Stephen Halter
0622513058
Wait to dispose RequestAborted CTS ( #4447 )
2019-01-15 14:54:10 -08:00
Pavel Krymets
4c956d4767
Add SkipIfNotAdminAttribute to StartsWithDotnetInstallLocation ( #6718 )
2019-01-15 13:25:07 -08:00
Chris Ross
1f892d798d
Add AllowSynchronousIO to TestServer and IIS, fix tests ( #6404 )
2019-01-15 11:48:17 -08:00
Stephen Halter
0defbf74f8
Fix flakiness in Kestrel ungraceful shutdown test ( #6637 )
2019-01-15 11:10:44 -08:00
Pavel Krymets
437baf6f5e
Port Handle EOF HResult from async callback to 2.2 ( #6483 )
2019-01-15 10:33:26 -08:00
Pavel Krymets
5fd9435392
Port ANCM current directory changes to 2.2 ( #6150 )
2019-01-15 09:00:50 -08:00
Justin Kotalik
cdd38d70cf
Implement Stream Adapters (and minor nitpics) ( #6583 )
2019-01-15 09:00:06 -08:00
David Fowler
3f1760c52b
Reduce copies for WebSocket reads ( #6656 )
...
- Change the upgrade message body to use the transport pipe instead of the request body pipe.
- Remove some logic from the base type (more can be removed but this is a conservative change)
- Improve performance of the ReadAsync call
2019-01-14 14:14:02 -08:00
Stephen Halter
cd0eab88ea
Lower log severity for opening internal libuv pipe ( #6636 )
...
Addresses #4741
2019-01-14 12:29:49 -08:00
Nate McMaster
7f7723bdf2
Consume dependencies updates automatically via darc ( #6676 )
...
This refactors the list of dependency versions to support consuming updates automatically via darc and maestro.
2019-01-14 12:01:31 -08:00
Doug Bunting
970bced25c
Update branding to 2.2.2 ( #6608 )
...
- pin System.Net.WebSockets.WebSocketProtocol to version 4.5.3
- update Directory.Build.targets files to correct build issues
- fix duplicate metadata during static analysis
2019-01-14 11:40:01 -08:00
Nate McMaster
089912cd1b
Switch queues used during Windows builds ( #6667 )
2019-01-14 10:07:12 -08:00
Justin Kotalik
3f4622ffe0
Fix StartupTests.StartsWithDotnetInstallLocation ( #6589 )
2019-01-14 08:16:48 -08:00
David Fowler
71ce37ee91
Remove WebSocketProtocol dependencies ( #6651 )
2019-01-13 18:22:11 -08:00
Ben Adams
b27739ad3f
Shrink ParseRequestLine inner loop ( #6594 )
2019-01-11 20:34:30 -08:00
Nate McMaster
b4f869b2ff
Switch agent queues used on Windows builds ( #6627 )
2019-01-11 16:23:13 -08:00
Nate McMaster
a9132ad26c
Switch agent queues used during Windows builds
2019-01-11 15:16:57 -08:00
Kahbazi
7883eb65a2
Replace Cosnsole.WriteLine with Debug.WriteLine ( #6618 )
2019-01-11 14:24:10 -08:00
Justin Kotalik
2f6ff70dd4
Disable a set of flaky IIS tests ( #6606 )
2019-01-11 13:32:27 -08:00
Ben Adams
31c8423df1
Devirtualize HttpHeaders.Reset ( #5950 )
...
* Use Inlining to devirtualize
2019-01-10 20:34:41 -08:00
Pavel Krymets
5299eff616
Use hostfxr error callback support ( #6043 )
2019-01-10 14:07:47 -08:00
Pavel Krymets
26c78ee542
Create folders for debug log file ( #6546 )
2019-01-10 12:03:54 -08:00
Nate McMaster
22f3166fa6
Merge branch 'release/2.1' into release/2.2
2019-01-10 01:22:10 -08:00
Ben Adams
ad11f890ef
Resolve input/output via IDuplexPipe interface once ( #6371 )
2019-01-09 21:25:22 -08:00
Nate McMaster
0f65d44482
Merge branch 'release/2.2'
2019-01-09 18:09:25 -08:00
Nate McMaster
a6b04bf969
Fix MusicStore tests for 2.2
2019-01-09 17:18:01 -08:00
Justin Kotalik
a474a0567f
Merge branch 'release/2.2'
2019-01-09 16:42:12 -08:00
Hao Kung
d7a7c65b2b
Remove old 1.x auth stack ( #4485 )
...
* Remove old 1.x auth stack
Fixes https://github.com/aspnet/AspNetCore/issues/3999
2019-01-09 15:56:19 -08:00
Nate McMaster
a3f9b74bb9
Merge branch 'release/2.1' into release/2.2
2019-01-09 14:52:53 -08:00
David Fowler
ea344bf726
Don't allocate the FormFeature eagerly ( #6511 )
...
- Expose FormOptions on DefaultHttpContext
- Use those options on DefaultHttpContext when the FormFeature is initialized
2019-01-09 14:44:41 -08:00
Pavel Krymets
b6bdffe247
Remove copy targets from ResolveIISReferences ( #6539 )
2019-01-09 14:05:41 -08:00
Pavel Krymets
422b3222d2
Add InstallLocation registry key support ( #5705 )
2019-01-09 13:47:00 -08:00
Pavel Krymets
89ef215146
Fix ServerTests test failure ( #6530 )
2019-01-09 12:03:45 -08:00
David Fowler
a11c68ae35
Remove all extensibility from the DefaultHttpContext ( #6504 )
...
- Seal all of the classes
- Remove virtual methods
- Delete pooled HttpContext code
- Removed obsolete AuthenticationManager
2019-01-09 11:37:06 -08:00
Kahbazi
828ec2ef35
Remove nameof for event name
2019-01-09 12:08:55 +03:30
David Fowler
688ad19170
Reuse HttpContext object per HTTP/1 connection and HTTP/2 stream ( #6424 )
...
- Today in Kestrel, we reuse the IFeatureCollection per connection and per Http2Stream. This PR aims to take advantage of that same technique and affinitize the HttpContext and friends so that they are only allocated per connection.
- ReusableHttpContext and friends mimic the functionality of DefaultHttpContext but is sealed and has no overridable methods.
- Introduce IHttpContextContainer which allows servers to cache the HttpContext and friends across requests.
2019-01-08 16:54:46 -08:00
Luke Latham
b4c9ca12b4
Spelling typo in ANCM event log message ( #6495 )
2019-01-08 16:33:32 -08:00
Nate McMaster
ce548479e1
Merge branch 'release/2.1' into release/2.2
2019-01-08 12:00:04 -08:00
Nate McMaster
5d16f97965
Remove netcoreapp2.0 test TFMs ( #6461 )
...
.NET Core 2.0 reached EOL last year. This removes multi-targeting our test projects and test assets to only use .NET Core 2.1 and .NET Framework 4.6.1.
2019-01-08 11:20:09 -08:00
Pavel Krymets
c60d1e1a14
Handle EOF HResult from async callback ( #6453 )
2019-01-07 15:04:28 -08:00
dotnet-bot
c06eec1e8f
Merge in 'release/2.2' changes
2019-01-07 21:31:03 +00:00
Justin Kotalik
2e67864995
Merge branch 'release/2.1' into release/2.2
2019-01-07 10:27:41 -08:00
dotnet-bot
973b4b2fbf
Merge in 'release/2.1' changes
2019-01-07 17:35:10 +00:00
Justin Kotalik
375e9d2cbd
Make music store project ref ( #6313 )
2019-01-07 09:34:05 -08:00
Nate McMaster
edfb2ab8ab
Merge branch 'release/2.2'
2019-01-05 00:34:13 -08:00
dotnet-bot
590fe38284
Merge in 'release/2.2' changes
2019-01-04 22:20:08 +00:00
Nate McMaster
9556cc133d
Merge branch 'release/2.1' into release/2.2
2019-01-04 14:17:28 -08:00
dotnet-bot
da77274259
Merge in 'release/2.1' changes
2019-01-04 18:01:45 +00:00
Nate McMaster
436076fd55
Fix broken tests and VS solutions caused by source code reorganization and other build infra cleanup
...
Changes:
* Fix broken tests and VS solutions caused by source code reorganization
* Add a check to validate generated code and solutions on PRs
* backport some source code reorg to src/Identity
* Fix startvs.cmd if you've already run build.ps1
* Add PR checks for tests on Linux/macOS
* Skip broken Nginx tests
* Add conditions to skip IIS tests on non-Windows platforms
2019-01-04 10:00:26 -08:00
Pavel Krymets
143a727113
Remove AspNetCoreModule virtual projects ( #6317 )
2019-01-04 09:40:40 -08:00
David Fowler
c61639b4a4
Reduce HTTP/2 allocations ( #6119 )
...
- Remove per request allocations on the thread pool by implementing IThreadPoolWorkItem on Http2Stream
- Made generic version of Http2Stream to store the IHttpApplication instead of using a tuple
- Removed passing of IHttpApplication<TContext> everywhere
2019-01-04 08:33:57 -08:00
Stephen Halter
6a5c0cf189
Manually time out H2SpecTests ( #6366 )
2019-01-03 16:31:53 -08:00
Stephen Halter
b1f778bfb8
[Kestrel] Allow HTTP/2 stream drain timeout during trailers ( #4070 )
...
- Move all HTTP/2 stream state management into request parsing loop
2019-01-03 15:03:00 -08:00
Nate McMaster
bfec2c14be
Merge branch 'release/2.2'
2019-01-03 12:18:01 -08:00
Justin Kotalik
910e5ad7e5
Reference InprocessTestSite in CreateDefaultBuilderApp and Disable Failing Tests ( #6318 )
2019-01-03 08:54:14 -08:00
Justin Kotalik
2d48eeb479
Feedback
2019-01-02 14:04:42 -08:00
Justin Kotalik
68067b8aca
Keep Platform targets
2019-01-02 11:50:36 -08:00
dotnet-bot
df29851149
Merge in 'release/2.2' changes
2019-01-02 19:20:51 +00:00
Nate McMaster
7e38b563bd
Merge branch 'release/2.1' to release/2.2
2019-01-02 10:29:38 -08:00
Justin Kotalik
9ab501e3b1
Remove file that should be ignored
2019-01-02 10:21:19 -08:00
Justin Kotalik
6efb449c26
Merge release/2.2 into master
2019-01-02 10:17:34 -08:00
dotnet-bot
7d8eb101a8
Merge in 'release/2.2' changes
2019-01-02 16:46:58 +00:00
Justin Kotalik
d53686868c
Merge branch 'release/2.1' into release/2.2
2018-12-31 14:45:29 -08:00
David Fowler
4816bdcaad
Replace .Wait with await ( #6191 )
2018-12-30 11:19:05 -04:00
David Fowler
712b01d063
Prevent blocking threads ( #6190 )
...
- Call StopAsync and StartAsync on the Host and TestServer in more places
2018-12-30 02:31:30 -04:00
David Fowler
010c1f0c9f
Call StopAsync before disposing ( #6189 )
2018-12-30 01:36:30 -04:00
David Fowler
b12c33dbc3
Replace ManualResetEvents with a TCS ( #6173 )
...
* Added TaskCreationOptions.RunContinuationsAsynchronously in a few places
2018-12-29 08:24:57 -04:00
David Fowler
dd912850eb
Reduce allocations ( #6132 )
...
- Remove per request allocations by implementing IThreadPoolWorkItem on the IISHttpContext.
- Removed per operation allocations by using UnsafeQueueUserWorkItem in AsyncIOOperation.
- This should also reduce overhead by removing non-essential ExecutionContext propagation logic
2018-12-28 21:18:58 -04:00
Pavel Krymets
a7b783724e
Fix ANCM environment variables bugs ( #6083 )
2018-12-28 15:48:20 -08:00
Justin Kotalik
7269dbb73f
Merge branch 'master' of https://github.com/aspnet/aspnetcore
2018-12-27 11:12:33 -08:00
Ben Adams
0d9de4991e
Transport.Sockets.IOQueue -> IThreadPoolWorkItem ( #4601 )
2018-12-27 10:46:53 -08:00
Ben Adams
8be8e0008d
Avoid boxing context.Method ( #5687 )
2018-12-27 09:07:44 -08:00
Ben Adams
cb1917aa59
Don't allocate in BeginChunkBytes ( #5688 )
2018-12-26 18:00:39 -08:00
Pavel Krymets
0eab4640d2
Disable cert validation in Https tests ( #6133 )
2018-12-26 15:34:24 -08:00
Justin Kotalik
0e84cf5d28
Remove non-ignored files from 2.1
2018-12-26 15:13:19 -08:00
Justin Kotalik
e8d898dcd9
Merge branch 'release/2.2'
2018-12-26 14:21:28 -08:00
Ben Adams
b87ac1d652
Use PopCount intrinsic ( #5715 )
2018-12-26 10:03:36 -08:00
Ajay Bhargav Baaskaran
4d0ff9967a
Merge branch 'ajbaaska/merge-master'
2018-12-26 08:57:03 -08:00
Ben Adams
5a64688d8e
Make some ThrowHelpers static ( #5951 )
2018-12-24 16:53:07 -08:00
Pavel Krymets
7371d90222
Re-enable IIS tests ( #6067 )
2018-12-21 19:23:48 -08:00
Ajay Bhargav Baaskaran
3787fbf3a3
Merge branch 'release/2.2'
2018-12-21 18:29:32 -08:00
Pavel Krymets
85f1f3d893
Fix site extension ANCM layout ( #6088 )
2018-12-21 16:46:51 -08:00
dotnet-bot
0bf06d8cf2
Merge in 'release/2.2' changes
2018-12-21 22:15:53 +00:00
Justin Kotalik
f111a2d73a
Merge release/2.2 into master
2018-12-21 14:14:10 -08:00
dotnet-bot
ae6d9d772f
Merge in 'release/2.1' changes
2018-12-21 21:38:00 +00:00
Justin Kotalik
167695fad2
Port native project ref changes to 2.1 ( #6071 )
2018-12-21 13:36:57 -08:00
Nate McMaster
f4bb260444
Merge branch release/2.1 into release/2.2
2018-12-21 13:24:33 -08:00
dotnet-bot
68bd2329e1
Merge in 'release/2.2' changes
2018-12-21 21:19:09 +00:00
Nate McMaster
21bdedbe4f
Merge release/2.1 into release/2.2
2018-12-21 12:38:10 -08:00
Ben Adams
ef341c610f
Use ref extensions as ref extensions ( #6058 )
2018-12-21 12:11:32 -08:00
Ajay Bhargav Baaskaran
af2461d524
Merge branch 'release/2.1' into release/2.2
2018-12-21 11:38:25 -08:00
dotnet-bot
0ec3101fe1
Merge in 'release/2.2' changes
2018-12-21 19:03:24 +00:00
Justin Kotalik
f1b125d69f
Restore IISIntegration Unit test project ( #6068 )
2018-12-21 11:02:18 -08:00
dotnet-bot
2ef7d55ef8
Merge in 'release/2.1' changes
2018-12-21 18:59:15 +00:00
Justin Kotalik
37291ea114
Fix IISIntegration folder structure ( #6063 )
2018-12-21 10:58:10 -08:00
dotnet-bot
10953c65c7
Merge in 'release/2.1' changes
2018-12-21 08:12:24 +00:00
Justin Kotalik
80bb14c3ef
Change build components to C++ Win10 17134 SDK ( #4603 )
2018-12-21 00:11:06 -08:00
dotnet-bot
594e4c4c35
Merge in 'release/2.2' changes
2018-12-21 01:28:47 +00:00
Nate McMaster
c3beb1f9b1
build.cmd/sh changes ( #5958 )
...
Update the build scripts to support building subfolders or subgroups of projects
* Add build scripts for ci
* Remove obsolete scripts
* Add flags like --test and --pack to control running just test or packaging
* Add flags like --managed and --native to control building sub-types of projects
* Remove KoreBuild bootstrapper flags
* Update to extensions 3.0.0-preview.18619.1 (needed to get a fix for aspnet/Extensions#815 to make this change work on MSBuild.exe)
2018-12-20 16:52:15 -08:00
Justin Kotalik
d9cf76f63d
Merge release/2.1 into 2.2
2018-12-20 16:51:06 -08:00
Pavel Krymets
d73d6e8546
Fix GetDllDirectory on 2008 ( #6066 )
2018-12-20 16:02:04 -08:00
Pavel Krymets
45d1c054b2
Add IServerAddressesFeature support ( #4685 )
2018-12-20 15:29:49 -08:00
Pavel Krymets
72830ea943
Set current directory by default ( #4798 )
2018-12-20 10:19:55 -08:00
Stephen Halter
af1a6eca81
Add more timeouts to Http2TestBase ( #5955 )
2018-12-19 08:52:39 -08:00
dotnet-maestro-bot
7b77332441
[automated] Merge branch 'release/2.2' => 'master' ( #5892 )
2018-12-18 22:43:32 -05:00
dotnet-bot
66d35bd153
Merge in 'release/2.2' changes
2018-12-18 23:48:35 +00:00
Justin Kotalik
de954ce702
Fixing IIS Tests ( #5682 )
2018-12-18 18:46:56 -05:00
Ajay Bhargav Baaskaran
eeabafa68f
Merge branch 'temp' into ajbaaska/merge-master
2018-12-18 14:44:25 -08:00
Ajay Bhargav Baaskaran
8ef37dfbca
Merge branch 'release/2.2'
2018-12-18 12:56:29 -08:00
Ajay Bhargav Baaskaran
2a696f6a1c
Merge branch 'release/2.2'
2018-12-18 12:50:01 -08:00
dotnet-bot
967f551968
Merge in 'release/2.2' changes
2018-12-18 20:38:50 +00:00
Stephen Halter
21ef9f3c39
Revert "Fix flakiness in RequestsCanBeAbortedMidRead ( #4881 )" ( #5708 )
...
This was never supposed be be merged into release/2.2 or master since both those branches include aspnet/KestrelHttpServer#2844 .
This reverts commit 019ba081d3 .
2018-12-18 12:37:25 -08:00
dotnet-bot
fe0d8ca083
Merge in 'release/2.1' changes
2018-12-18 20:01:33 +00:00
John Luo
0cbc52ca15
Convert ServerTests to Reference and move to Server folder ( #4686 )
2018-12-18 14:59:47 -05:00
Nate McMaster
335c9be7b4
Update the artifacts directory organization and simplify publishing targets ( #5701 )
...
This simplifies the way that we publish files to our network drop share.
Changes:
* Instead of explicitly listing every file that needs to publish, use directories to classify packages and artifacts into different categories.
* Add documentation for the expected layout of artifacts/
* Remove the need for static analysis to determine which packages go to which project
* Add the MSBuild property "IsProductPackage" to .csproj files which ship as a package to NuGet.org.
2018-12-18 11:40:13 -08:00
dotnet-bot
9dda9a3e2a
Merge in 'release/2.2' changes
2018-12-18 18:58:34 +00:00
Ajay Bhargav Baaskaran
647fbbac7b
Merge branch 'release/2.1' into ajbaaska/merge-22
2018-12-17 18:40:08 -08:00
Pavel Krymets
db0c347c23
Change testassets location ( #5416 )
2018-12-17 14:45:40 -08:00
Chris Ross
6046ad27f6
Remove handle inheritance workaround Kestrel/#3040 ( #5000 )
2018-12-15 13:33:13 -08:00
dotnet-bot
918dc51a1f
Merge in 'release/2.1' changes
2018-12-15 00:27:56 +00:00
Stephen Halter
019ba081d3
Fix flakiness in RequestsCanBeAbortedMidRead ( #4881 )
...
Addresses aspnet/AspNetCore-Internal#1521
2018-12-14 16:26:54 -08:00
dotnet-bot
a6112bf0dd
Merge in 'release/2.2' changes
2018-12-15 00:05:19 +00:00
Nate McMaster
3c09d644cc
Merge branch 'release/2.2'
2018-12-14 16:04:56 -08:00
Nate McMaster
9183145474
Fix package layout for ANCM packages ( #5119 )
2018-12-14 16:04:15 -08:00
Nate McMaster
02780bac26
Merge branch 'release/2.2'
2018-12-14 16:03:16 -08:00
dotnet-bot
9b1be901d3
Merge in 'release/2.2' changes
2018-12-14 19:43:29 +00:00
Nate McMaster
6402a6a971
Fix aspnet/AspNetCore-Internal#1503 - ensure ANCM packages are code signed
2018-12-14 11:41:56 -08:00
dotnet-bot
8b682dfe85
Merge in 'release/2.2' changes
2018-12-14 19:01:05 +00:00
Nate McMaster
feb641ddda
Merge branch 'release/2.1' into release/2.2
2018-12-14 09:44:15 -08:00
dotnet-bot
6133fa4dd6
Merge in 'release/2.1' changes
2018-12-14 16:37:44 +00:00
Nate McMaster
13ae0057fb
Replace .Sources package references with local code ( #4801 )
...
Replaces package references the following packages with local code:
Microsoft.AspNetCore.Certificates.Generation.Sources
Microsoft.Extensions.CopyOnWriteDictionary.Sources
Microsoft.Extensions.ClosedGenericMatcher.Sources
Microsoft.Extensions.ObjectMethodExecutor.Sources
Microsoft.Extensions.PropertyActivator.Sources
Microsoft.Extensions.PropertyHelper.Sources
Microsoft.Extensions.RazorViews.Sources
Microsoft.Extensions.SecurityHelper.Sources
Microsoft.Extensions.StackTrace.Sources
Microsoft.Extensions.WebEncoders.Sources
2018-12-14 08:36:36 -08:00
dotnet-bot
3b0d1253e1
Merge in 'release/2.2' changes
2018-12-14 08:57:43 +00:00