Commit Graph

17302 Commits

Author SHA1 Message Date
John Luo 8d1ac47d9f Remove cyclic dependency on self 2017-04-24 17:11:43 -07:00
Stephen Halter c22f8f5c59 Fix potential race in LibuvThread.StopAsync (#1756) 2017-04-24 16:47:48 -07:00
John Luo c77f7b7c77 Add Microsoft.AspNetCore to Microsoft.AspNetCore.All
This metapackage now contains the static WebHost API
2017-04-24 16:47:18 -07:00
Andrew Stanton-Nurse a4e54822b1 remove integration test logging (#782)
now that logging.testing has it
2017-04-24 16:04:42 -07:00
Andrew Stanton-Nurse 463612d3a6 remove integration test logging (#76)
now that logging.testing has it
2017-04-24 16:04:36 -07:00
John Luo 280a849060 Move the target files to the correct location in .nupkg 2017-04-24 15:41:28 -07:00
John Luo d2816d14ab Make WebHost internal
To avoid conflict with WebHost defined in Microsoft.AspNetCore in MetaPackages
2017-04-24 14:46:35 -07:00
Andrew Stanton-Nurse e4b78ab958 Remove Microsoft.Extensions.PlatformAbstractions 2017-04-24 14:41:11 -07:00
John Luo 0f28da1234 Use correct version of M.A.Diagnostics.Identity.Service 2017-04-24 14:31:07 -07:00
John Luo c6fcd743db Add more package to package cache. 2017-04-24 12:58:57 -07:00
John Luo 3a4a3ca291 WebHost static API updates
- Specify ApplicationName when wrapping RequestDelegate or RouteBuilder
- Add debug logger by default
2017-04-24 12:56:20 -07:00
David Fowler a98581670e Schedule connection adapter reads on configured thread pool (#1741)
* Schedule connection adapter reads on configured thread pool
- This should speed up connection adapters as we don't block
new reads. It *might* also help some of the test flakiness
2017-04-24 12:19:22 -07:00
David Fowler 7e5604b2f5 Remove async from OnRead (#1746)
- Remove async from fast path.
- Added ApplyBackpressureAsync that pauses and resumes reading
2017-04-24 11:58:52 -07:00
Hao Kung 3085f016e4 Fix GetToken() 2017-04-24 11:58:12 -07:00
Pavel Krymets df9e48b1f0 Add cancellation support for write async (#1736) 2017-04-24 11:58:08 -07:00
Ajay Bhargav Baaskaran c959795a64 Creating one IAuthenticatedEncryptor per IKey 2017-04-24 10:46:33 -07:00
Nate McMaster 1e61428f8e Lift packages to target .NET Core 2.0 2017-04-24 10:39:27 -07:00
David Fowler 71d2abed06 More clean up of LibuvConnection (#1743)
* More clean up of LibuvConnection
- Use C# 7
- Use Buffer<T>.Pin to get access to the underlying
pointer instead of using TryGetPointer.
2017-04-23 20:45:03 -07:00
David Fowler db44f5b672 Clean up LibuvOutputConsumer (#1744)
* Clean up LibuvOutputConsumer
- Added UvShutdownReq.ShutdownAsync
- Added Debug.Assert in LibuvAwaitable since it should never race.
2017-04-23 20:22:49 -07:00
Kiran Challa 7d0770b0e4 Revert "Temporarily remove `dotnet run` argument separator"
This reverts commit 5f9fa5c009.
2017-04-23 08:32:58 -07:00
David Fowler 7a9de7cf6e React to Hosting changes 2017-04-22 11:06:40 -07:00
David Fowler 58cc0bc3f9 Fix the configuration key name for PreferHostingUrls (#1034) 2017-04-22 10:12:16 -07:00
David Fowler 5472763fc2 Added feature to control http body behavior (#821)
* Added feature to control http body behavior
- Added a flag to allow synchronous IO
2017-04-22 02:52:40 -07:00
David Fowler 650a3ccc26 Pass exception to Complete (#1739) 2017-04-21 23:31:59 -07:00
Chris R b7ed993d9d Remove obsolete Azure ForwardedHeaders workaround. (#359) 2017-04-21 19:02:11 -07:00
John Luo d9661ed70d Un-revert changes for static WebHost API
Keeping the same netstandard1.3 TFM so as to not break apps targeting net46.
2017-04-21 14:06:20 -07:00
David Fowler a749939be4 Clean up libuv connection (#1726)
* Clean up libuv connection
- Cancel all pending flushes on the input writer before
disposing the stream handle.
- Complete the pipe before disposing the socket
- Added logging for connection pause/resume.
- Added test
2017-04-21 13:13:05 -07:00
David Fowler feb9d1281e Tweak libuv shutdown sequence (#1735)
* Tweak libuv shutdown sequence
- Increase timeouts for thread and listener shutdowns
- Remove post.Unreference call from AllowStopRude
2017-04-21 13:12:37 -07:00
Kiran Challa 7dff704c34 Unskipped Nano server's standalone tests 2017-04-21 12:15:19 -07:00
David Fowler 383a13f1f9 Remove unused dependency (#1032) 2017-04-21 10:37:35 -07:00
Nate McMaster 31635abf6b Resolve warnings about duplicate imports of Microsoft.Common.targets 2017-04-21 08:54:29 -07:00
David Fowler dcea15dba7 Skipped newly failing AddressRegistration tests failing tests on OSX and Linux (#1732)
* Unblock CI
2017-04-21 01:54:44 -07:00
Kiran Challa e606844509 Unskipped standalone functional tests 2017-04-21 01:43:48 -07:00
Kiran Challa 51f77ea7f3 Workaround: On xplat machines, provided executable permission to published standalone application executable 2017-04-20 23:56:29 -07:00
Mike Harder 10775adf5b Revert "Adds new WebHost API for creating IWebHost & IWebHostBuilder with defaults:"
This reverts commit 55d50b2d41.
2017-04-20 18:47:00 -07:00
Mike Harder 992407fb35 Revert "Update build targets and clean up"
This reverts commit 587985b497.
2017-04-20 18:46:34 -07:00
John Luo 587985b497 Update build targets and clean up 2017-04-20 17:17:57 -07:00
damianedwards 55d50b2d41 Adds new WebHost API for creating IWebHost & IWebHostBuilder with defaults:
- #24
2017-04-20 16:55:56 -07:00
Stephen Halter a14eabce9a RequestTests and ResponseTests cleanup (#1723) 2017-04-20 16:33:05 -07:00
Nate McMaster ee9feedc27 Improve implementation of IHttpUpgradeFeature
After upgrade has been accepted by the server:
 - Reads to HttpRequest.Body always return 0
 - Writes to HttpResponse.Body always throw
 - The only valid way to communicate is to use the stream returned by IHttpUpgradeFeature.UpgradeAsync()

Also, Kestrel returns HTTP 400 if requests attempt to send a request body along with Connection: Upgrade
2017-04-20 12:42:58 -07:00
Hao Kung 4566cf9fdb Add DisplayName to scheme 2017-04-20 12:42:12 -07:00
Andrew Stanton-Nurse 198fe34813 react to removal of PlatformAbstractions (#36) 2017-04-20 11:09:29 -07:00
Andrew Stanton-Nurse c3f658d232 react to removal of PlatformAbstractions (#781) 2017-04-20 11:01:22 -07:00
Stephen Halter bebba2a113 Make UnrootedConnectionsGetRemovedFromHeartbeat test less flaky (#1727) 2017-04-20 10:58:48 -07:00
Kiran Challa e2e350ec6c [Fixes #763] Investigate System.Security.Claims references required to make compilation work 2017-04-20 10:24:48 -07:00
David Fowler d0743806d8 Disable UnrootedConnectionsGetRemovedFromHeartbeat because it's flaky 2017-04-20 10:21:20 -07:00
Andrew Stanton-Nurse 14b99f74fa react to removal of PlatformAbstractions (#168) 2017-04-20 09:31:10 -07:00
Andrew Stanton-Nurse bfeff186e3 react to removal of PlatformAbstractions (#75) 2017-04-20 09:31:03 -07:00
Andrew Stanton-Nurse ce650eee7f react to removal of PlatformAbstractions (#1023) 2017-04-20 09:30:40 -07:00
Pavel Krymets 5f4eb5cbbd Package *.HostingStartup.deps.json files as part of package cache build (#34) 2017-04-20 08:39:47 -07:00