Commit Graph

40898 Commits

Author SHA1 Message Date
Stephen Halter 4c39374dc0 Always check if block is last in linked list before consuming it
- This prevents a race where we could read into the "Next" Block without
  completely consuming the previous one.
2016-05-05 15:13:17 -07:00
= 6af8da4713 Use in memory store for non-windows tests and disable tests until new cli is available 2016-05-05 14:11:58 -07:00
John Luo a3975422ec Merge branch 'release' into dev 2016-05-05 13:40:53 -07:00
John Luo b7b0c5ba6d Recognize new variants of nano server product types 2016-05-05 12:17:06 -07:00
Pranav K b06f6266d5 Merge branch 'release' into dev 2016-05-05 08:28:16 -07:00
Pranav K 9834102242 Merge branch 'release' into dev 2016-05-05 07:14:59 -07:00
Pranav K 0216221e50 Revert "Fix DataProtection after build globbing changes will go in"
This reverts commit f0ddc81e07.
2016-05-05 07:14:25 -07:00
Nathan Anderson 132263e767 narrow lock scope when connections end 2016-05-04 16:50:08 -07:00
John Luo 37931a9fa5 Update AutobahnTestServer to use IISIntegration 2016-05-04 15:32:16 -07:00
SteveSandersonMS d1964f087d Change from netstandardapp1.5 to netcoreapp1.0 everywhere 2016-05-04 15:26:14 -07:00
SteveSandersonMS 999641c4c2 Remove 'UseDefaultHostingConfiguration' references, as the API no longer exists and is not strictly needed 2016-05-04 13:16:13 -07:00
Stephen Halter fed7c44829 Merge branch 'halter73/validate-header' into dev 2016-05-04 12:35:26 -07:00
Stephen Halter faf81f11f5 Add response header validation tests 2016-05-04 12:26:00 -07:00
Stephen Halter c1e5640a65 Don't allow response headers to contain control characters
- For the purposes of this commit, control characters are everything < 0x20.
- Immediately throw an InvalidOperationException when the header is added to
  the IHttpResponseFeature.Headers dictionary.
2016-05-04 12:24:31 -07:00
Pavel Krymets 255a6dec63 Merge branch 'release' into dev 2016-05-04 12:21:38 -07:00
Pavel Krymets 95d86a3070 Fix issue with build script producing empty packages 2016-05-04 12:20:59 -07:00
Mike Harder 14bbba0641 Update addresses in IServerAddressesFeature with assigned dynamic ports (#758)
- Change most tests to use dynamic ports, rather than a fixed port obtained from GetNextPort().
- Add several new cases to `AddressRegistrationTests` and `ServerAddressFacts`.
- Remove project `test\Microsoft.AspNetCore.Server.Kestrel.TestCommon`.  It's not longer needed, since only `AddressRegistrationTests` uses `GetNextPort()`.
2016-05-04 11:27:23 -07:00
Pavel Krymets aad85220df Merge branch 'release' into dev 2016-05-04 11:10:43 -07:00
Pavel Krymets f0ddc81e07 Fix DataProtection after build globbing changes will go in 2016-05-04 11:00:14 -07:00
Pranav K 3a86d941d6 Remove includes and excludes 2016-05-04 09:11:12 -07:00
Pranav K 557a14b17a Merge branch 'release' into dev 2016-05-03 22:32:54 -07:00
Pranav K 166e7c30e5 Add Microsoft.NETCore.Platforms to allow test to succeed 2016-05-03 22:32:29 -07:00
Pranav K 0beff6f91a Merge branch 'release' into dev 2016-05-03 19:24:33 -07:00
Pranav K 039bb6e714 Fix tests for net451 2016-05-03 19:24:22 -07:00
Chris R 6a73d15dfb Merge branch 'release' into dev 2016-05-03 15:14:47 -07:00
Chris R 2e079cb99d React to OpenIdConnect package version change 2016-05-03 15:12:35 -07:00
Kiran Challa 3c2bdfd368 Merge branch 'release' into dev 2016-05-03 12:29:33 -07:00
Doug Bunting e3db547011 Add `[Remote(routeName : "name")]` tests
- relates to #4445
- also relates to #4309 / fb07fee though restored and renamed files are slightly different
 - latest Unobtrusive version; copy just one file under `wwwroot`
- add JavaScript file and CDN links to enable manual testing of `[Remote]` tests in `BasicWebSite`
 - include renamed files for recreating the minimized JavaScript file manually
2016-05-03 12:25:00 -07:00
Kristian Hellang f4679fe74f Changed RequireHttpsAttribute to default to 302 instead of 301 2016-05-03 12:11:18 -07:00
Chris R d814cef75a Merge branch 'release' into dev 2016-05-03 10:09:44 -07:00
Chris R 7645253420 #808 Update OIDC to v1.0 2016-05-03 09:39:36 -07:00
Chris R 4cad0a2f01 Merge branch 'release' into dev 2016-05-03 09:05:55 -07:00
Chris R 642cdc0437 #738 Support legacy environment keys 2016-05-03 09:02:44 -07:00
Chris R e6bddd4131 Prepopulate the environment rather than fall back to it. 2016-05-03 08:55:56 -07:00
Stephen Halter f8c2c2470f Merge branch 'benaadams/memorypool' into dev 2016-05-02 21:58:53 -07:00
David Obando 742a9e3f3b Reduce the number of allocations during model validation
When the service receives a model (say, via a POST message) MVC validates it to ensure the model is in a correct state. Validation currently incurs in many allocations that can be avoided. This tackles two of them:
  1. We're now caching the generic `GetEnumerator<T>` method infos generated on the fly during collection validation, and
  2. We're now only initializing `ModelErrorCollection` on demand.

The first one incurs in the additional allocation of 1 long-lived dictionary object, which will grow only to the amount of `Collection<T>` types used by the model being validated. This is expected to be a small to medium number.

The second change assumes that class `ModelStateEntry` isn't thread safe, as model validation isn't multithreaded.

This resolves #4434 and #4435.
2016-05-02 19:28:20 -07:00
Pranav K 3207918e1b Merge branch 'release' into dev 2016-05-02 18:14:29 -07:00
Pranav K fc3ab48d61 Add dotnet-test-xunit dependency 2016-05-02 18:12:30 -07:00
Pranav K a43acb2fee Merge branch 'release' into dev 2016-05-02 17:43:09 -07:00
Pranav K bba69da958 Add dotnet-test-xunit 2016-05-02 17:42:55 -07:00
Pranav K 490d007282 Merge branch 'release' into dev 2016-05-02 16:56:52 -07:00
Pranav K a4c132ca74 Adding dotnet-test-xunit 2016-05-02 16:56:37 -07:00
Ryan Brandenburg c6a6aae15f Merge branch 'release' into dev 2016-05-02 16:52:29 -07:00
Ryan Brandenburg 3aa42617a4 Add transitive reference 2016-05-02 16:49:57 -07:00
Pranav K e3ed603b7e Merge branch 'release' into dev 2016-05-02 16:42:33 -07:00
Pranav K 0070560be1 Fixing build 2016-05-02 16:42:20 -07:00
Pranav K a72287d59c Merge branch 'release' into dev 2016-05-02 16:39:12 -07:00
Pranav K 220d6b80b7 Fix build break 2016-05-02 16:39:01 -07:00
Ajay Bhargav Baaskaran 9bfa74d829 [Fixes #739] Newline after text tag rendered only if followed by html 2016-05-02 16:29:29 -07:00
Pranav K 7494e6a10a Merge branch 'release' into dev 2016-05-02 16:23:48 -07:00