Commit Graph

11490 Commits

Author SHA1 Message Date
Kiran Challa 46dd25fcac Updated to use the latest shared runtime 2017-05-26 12:40:38 -07:00
Kiran Challa 85d712251d Updated to use the latest shared runtime 2017-05-26 12:39:37 -07:00
Kiran Challa 9ef496fe5b Updated to use the latest shared runtime 2017-05-26 12:39:04 -07:00
Nate McMaster c343628926 Implement max connection limits
- Added new options to allow configuring the maximum number of concurrent connections and upgraded connections.
- `KestrelServerLimits.MaxConcurrentConnections` defaults unlimited.
- `KestrelServerLimits.MaxConcurrentUpgradedConnections` defaults to unlimited.
- Calls to IHttpUpgradeFeature.UpgradeAsync() will throw when the MaxConcurrentUpgradedConnections limit has been reached.
- Kestrel will close new connections without response when MaxConcurrentConnections is reached.
2017-05-26 12:27:48 -07:00
Hao Kung 273b25fb3a React to forbid changes 2017-05-25 18:37:27 -07:00
Cesar Blum Silveira 009759c7f6 Fix broken microbenchmarks (#1861). 2017-05-25 16:01:17 -07:00
Andrew Stanton-Nurse 06028e81c7 fix build by adding OutputType exe to test project (#179) 2017-05-24 18:20:46 -07:00
Javier Calvarro Nelson 7ac72dd7d8 Add task for generating ssl certificates with MSBuild 2017-05-24 15:55:43 -07:00
Stephen Halter 6c0af445e5 Fix flaky test and improve TestServer (#1859) 2017-05-24 15:45:54 -07:00
John Luo d25dbd572c Target NETStandard2.0 2017-05-24 11:10:13 -07:00
Nate McMaster b706a75e03 Target .NET Standard 2.0
This retargets all data protection libraries to ns2.0. This means .NET
Framework applications will need to upgrade to .NET Framework 4.6.1.
This upgrade makes available API to .NET Core that was previously only
available on .NET Framework, such as encrypting keys at rest with
certificates.

New API for .NET Core users:
- IDataProtectionBuilder.ProtectKeysWithCertificate(string thumbprint)
- CertificateXmlEncryptor
- ICertificateResolver
- DataProtectionProvider
  - .Create(string applicationName, X509Certificate2 certificate)
  - .Create(DirectoryInfo keyDirectory, X509Certificate2 certificate)
  - .Create(DirectoryInfo keyDirectory, Action<IDataProtectionBuilder>
  setupAction, X509Certificate2 certificate

Other minor changes in this commit:
- Fixed samples that were using obsolete logging API
- Remove calls to api-sets, instead using kernel32. .NET Core 2.0 no
longer requires using api-sets as Nano Server now forwards kernel32
calls
- Made minor improvements to the TypeForwardingActivator
- Remove dead code an unused api baselines
- Enable more tests on macOS/Linux that previously only ran on Windows
2017-05-24 09:47:10 -07:00
pan-wang bce531f61a add features: flowing authentication info, hosting environment variable support; fix client disconnect and app_offline issues (#102)
resubmit
2017-05-23 17:25:45 -07:00
John Luo d6a653145d Target NETStandard 2.0 2017-05-22 15:05:12 -07:00
Cesar Blum Silveira 197eb43d8a Read request body concurrent to app execution. 2017-05-22 12:23:02 -07:00
Nate McMaster 390582dcf1 Target .NET Standard 2.0 (#1849) 2017-05-20 10:37:35 -07:00
Kiran Challa e3114dc6a4 Temporarily change tfm to netstandard1.3
Ideally we want to target netstandard2.0 but this conversion is blocked on the issue: https://github.com/dotnet/sdk/issues/1219
2017-05-19 14:00:08 -07:00
Steve Sanderson ac3ab36b3d Add JavaScriptServices to Universe 2017-05-19 11:38:50 +01:00
Pavel Krymets 34ab089e7b React to scheduler changes (#1846) 2017-05-18 14:49:48 -07:00
Cesar Blum Silveira f8a6433cd5 Fix flaky ResponseTests.FailedWritesResultInAbortedRequest. 2017-05-17 17:01:34 -07:00
jhkimnew 88cc1c14d0 Added a new environment variable value UsePrivateAspNetCoreFile for ANCMTestFlags and fixing test issues (#101) 2017-05-17 16:40:29 -07:00
Hao Kung f12fc69cbf Fix test reference 2017-05-17 14:03:56 -07:00
Hao Kung 8ed21d56c8 IIS => Auth 2.0 2017-05-17 13:37:30 -07:00
jhkimnew ec90853147 Disable using privateAspNetCoreFile to test release candiate build (#100) 2017-05-17 12:57:39 -07:00
Nate McMaster 7f0319f5dd Throw InvalidOperationException from IHttpUpgradeFeature.UpgradeAsync when request is not upgradable 2017-05-17 11:38:42 -07:00
Cesar Blum Silveira 10f88aeafc Fix duplicate ID test warning. 2017-05-17 10:57:39 -07:00
Nate McMaster 643a43c3d6 Update test framework versions and fix issues with tests (#1834) 2017-05-17 09:36:40 -07:00
jhkimnew c7e17d13f3 ANCM test update to fix test issues (#99) 2017-05-16 17:08:14 -07:00
Pavel Krymets d22f689fd2 Add support to use System.Memory as a package instead of internilized source (#1821) 2017-05-16 16:54:03 -07:00
jhkimnew 289ecd475d Added ANCMtestFlags environment variable (#98) 2017-05-16 10:38:17 -07:00
David Fowler cf16d601d6 Remove synchronous Write APIs (#1838) 2017-05-15 19:04:04 -07:00
Nate McMaster a7524e189d Upgrade test framework versions and fix test issues 2017-05-15 16:14:55 -07:00
Nate McMaster f70e17c138 Upgrade test framework versions 2017-05-15 16:02:04 -07:00
Nate McMaster 225c482c37 Upgrade test framework versions 2017-05-15 15:39:13 -07:00
Nate McMaster 5761ddd284 Upgrade test framework versions 2017-05-15 14:18:02 -07:00
Pranav K 1d9dcdf7ae Install NuGet.CommandLine 3.5.0 to acquire nuget.exe 2017-05-15 14:01:05 -07:00
Stephen Halter 9ab09dbe48 Change Exception to UvException where possible (#1833) 2017-05-15 11:03:04 -07:00
Stephen Halter 41f1922502 Simplify LibuvConnection.OnRead() (#1828)
* Simplify LibuvConnection.OnRead()

- Fix a null reference that sometimes occurs given an EOF status
2017-05-15 11:02:16 -07:00
Kiran Challa 01b8d5fad1 Skip flaky temporarily to unblock the mirror 2017-05-13 20:41:10 -07:00
David Fowler 1a706113d9 Remove rogue ConfigureAwait (#1830)
- We don't do it anywhere else, I assume this is left over
from older legacy
2017-05-12 18:26:52 -07:00
Cesar Blum Silveira cb1d0f3956 Prevent infinite loop in PipelineExtensions.PeekAsyncAwaited() (#1827). 2017-05-12 16:04:38 -07:00
Stephen Halter e149852d62 Skip flaky tests on TeamCity agents (#1832) 2017-05-12 14:36:47 -07:00
Nate McMaster 0e3d091fb7 Upgrade test framework versions 2017-05-12 12:22:22 -07:00
Javier Calvarro Nelson d324d483d3 Remove identity service from universe 2017-05-12 11:06:59 -07:00
Nate McMaster 6006ebe96f Update test framework versions 2017-05-12 10:39:52 -07:00
Kiran Challa 5e462aa87a Added log messages related to repository information 2017-05-12 06:05:50 -07:00
Cesar Blum Silveira 37f15bdd85 Create Frame in FrameConnection. 2017-05-10 16:48:37 -07:00
David Fowler b9518e3684 Invert the dependency between connection adapters and Frame (#1822)
* Invert the dependency between connection adapters and Frame
- Removed PrepareRequest from IAdaptedConnection and instead added
a feature collection to the ConnectionAdapterContext. This allows features to be set
once by the adapter instead of per request. It's the Frame's job to copy features
from the connection level feature collection into the per request feature collection.
- Set the scheme to "https" based on the presence of ITlsConnectionFeature.
- Always set ITlsConnection feature if the HttpsAdaptedConnection doesn't throw during
the handshake
2017-05-10 15:29:43 -07:00
Pavel Krymets 67322fe8ab Remove unnecessary package references (#177) 2017-05-10 11:48:33 -07:00
Pavel Krymets 7a7dc71164 Remove unnecessary package references (#79) 2017-05-10 11:45:31 -07:00
Pavel Krymets 90ee2252a0 Remove unnecessary package references (#1825) 2017-05-10 11:35:23 -07:00