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
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
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