Commit Graph

40898 Commits

Author SHA1 Message Date
jacalvar 3f78743011 Update Json.NET to 9.0.1-beta1 2016-06-03 13:08:13 -07:00
jacalvar dd79d0b88c [Fixes #316] TreeRouter does not match a route with the correct length 2016-06-03 12:55:20 -07:00
Pavel Krymets 47d3ffdddc Add activator fallback to support rc1 keys 2016-06-03 12:27:17 -07:00
moozzyk ef74926463 Fixing a test failing on Mac and Linux 2016-06-03 12:21:48 -07:00
Victor Hurdugaci 599a41b380 Improve test stability by disposing correctly 2016-06-03 10:04:38 -07:00
Stephen Halter d14f18012a Avoid Null ReferenceException in Frame.RequestAbortedSource
- Avoid unneeded resetting of _abortedCts and _manuallySetRequestAbortToken
2016-06-02 16:55:19 -07:00
Stephen Halter 6bff2ecb34 Small cleanup to SocketOutput's shutdown logic 2016-06-02 16:54:00 -07:00
Stephen Halter 07744e75d9 Gracefully handle connection close in SocketOutput.ProducingComplete 2016-06-02 16:54:00 -07:00
Stephen Halter 2d229e8980 Allow a maximum of 3 concurrent uv_write operations per connection
- Keep logic to prevent unnecessary calls to KestrelThread.Post
- This partially reverts commit 480996433e.
2016-06-02 16:52:06 -07:00
moozzyk 0342754c57 Using the optimized method for converting header name to ASCII 2016-06-02 16:36:22 -07:00
Cesar Blum Silveira de022b6051 Improved handling of whitespace in headers. 2016-06-02 16:18:43 -07:00
John Luo 2c7368a6b3 Disable tests failing on CLR on Linux and Mac 2016-06-02 15:16:36 -07:00
Chris R d289e82a85 Remove old Basic auth samples from ReadMe 2016-06-02 15:06:17 -07:00
Derek Gray 53b890aab5 Fix filename for DefaultPropertyFilterProvider 2016-06-02 14:56:34 -05:00
moozzyk 6e46d9757d Improve perf of TryGetAsciiString 2016-06-02 12:52:12 -07:00
Derek Gray 5f36adbee3 Fix filename for ModelValidatorProviderContext (fixes #4798) 2016-06-02 14:34:33 -05:00
Stephen Halter 9667907515 Prevent IOException from incorrectly failing test expecting 400 response 2016-06-02 12:22:05 -07:00
Kévin Chalet 56dca7e0bc Add a 'sid' check to the OIDC middleware to prevent unsolicited logout when possible 2016-06-02 12:21:17 -07:00
Pranav K 263d764215 Fix assembly metadata to fix package verifier warnings 2016-06-02 10:57:04 -07:00
Pranav K a3b2a7b62b Fix package verifier warnings 2016-06-02 10:55:03 -07:00
Victor Hurdugaci d7206dee8d Disable a test that hangs 2016-06-02 08:21:51 -07:00
Chris R 6e36bbe32c Add negative path tests. 2016-06-01 21:28:37 -07:00
Cesar Blum Silveira 58410bf016 Fix Travis build. 2016-06-01 16:52:38 -07:00
N. Taylor Mullen 51c285574b Add `AdditionalCompilationReferences` option to `RazorViewEngineOptions`.
- `AdditionalCompilationReferences` is a purely additive option to add `MetadataReference` instances to be used for Razor compilation.
- Added a test to validate the compilation references get combined with the `ApplicationPartManager`s metadata references.

#4497
2016-06-01 16:32:46 -07:00
Victor Hurdugaci 29bc240044 Fix a timing issue in the polling watcher 2016-06-01 16:15:55 -07:00
Stephen Halter f609f41a7c Reject non-ASCII chars in headers in addition to control chars 2016-06-01 16:01:15 -07:00
Pavel Krymets bb92cc1c29 Fix NRE when aborting connection or client disconects 2016-06-01 15:52:05 -07:00
Pavel Krymets 8b3c308c22 Limit value number instead of key number in form reader 2016-06-01 15:46:40 -07:00
Chris R 6224f5b6e8 Perf: Remove unnecessary path checks 2016-06-01 14:56:49 -07:00
Victor Hurdugaci 188bf58fe8 Remove netstandard.library 2016-06-01 14:52:22 -07:00
Pranav K 0d471b827b Update NetStandard.Library version 2016-06-01 14:31:42 -07:00
Hao Kung 7a795da349 AutomaticAuthenticate = false for non ApplicationCookies 2016-06-01 12:08:03 -07:00
mnltejaswini 3b9539960b [Perf] Preallocate TagHelperAttributes for simple bound string valued attributes Fixes #704 2016-06-01 11:24:32 -07:00
mnltejaswini 659cdc3364 React to aspnet/Razor#765. 2016-06-01 11:05:13 -07:00
SteveSandersonMS 311733b113 Fix references to socket APIs, and target the lowest net standard versions possible 2016-06-01 18:04:40 +01:00
Rasmus Melchior Jacobsen 931ba118e1 net451 support and changed netcoreapp1.0->netstandard1.5 for libraries 2016-06-01 17:10:11 +01:00
SteveSandersonMS f2e89fd3bc Remove obsolete InputOutputStream transport, now that the Stream transport is implemented 2016-06-01 17:03:05 +01:00
pauldotknopf 50ee405656 Workaround for a bug in .NET Core. This issue is referenced by #92. It is has been reported to the dotnet corefx team here: dotnet/corefx#8809 The issue won't be resolved in 1.0.0, so @stephentoub recommended that we reuse the HttpClient. 2016-06-01 16:49:40 +01:00
SteveSandersonMS 341cd4f1cb Implement SocketNodeInstance 2016-06-01 16:16:10 +01:00
SteveSandersonMS 32ebaecdd8 Define DefaultNodeHostingModel in one common place so it can be changed easily 2016-06-01 16:15:34 +01:00
Chris R e299695974 #776 Show some JwtBearer errors in response headers 2016-06-01 07:10:16 -07:00
Chris R c9f8455dbc Update sample ADAL dependency 2016-06-01 06:52:57 -07:00
jacalvar ed8c744041 [Fixes #4218] Adds a comment justifying the use of service locator in this case 2016-05-31 23:59:31 -07:00
jacalvar 4b5df98bc3 [Fixes #4224] Remove use of service locator on ViewExecutor 2016-05-31 23:39:22 -07:00
jacalvar 6a6d2e0d9f [Fixes #4506] Move and rename ActionDescriptor.Name to ControllerActionDescriptor.ActionName 2016-05-31 23:13:20 -07:00
jacalvar 5f4ca4fa66 [Fixes #4223] Added a facade for ViewComponentResult 2016-05-31 22:47:33 -07:00
jacalvar 8493064fe5 [Fixes #4207] Review IActionResult classes and add facades as necessary.
* Moved FileResults to use executor façades
* Changed redirect result types to use executor façades.
2016-05-31 22:46:18 -07:00
Doug Bunting 44f0aa63c6 Do not HTML encode while checking for whitespace
- #760
- using a `NullHtmlEncoder` improves `TagHelperContent.IsEmptyOrWhiteSpace` semantics
 - e.g. a tab is still a tab after encoding
 - also avoids `NotImplementedException`
- implement `Write(char)` for char-by-char `IHtmlContent` corner case
2016-05-31 22:09:19 -07:00
moozzyk bcdd3147a1 Fixing "Error -4092 EACCES permission denied" in tests
A test is trying to bind to port 80 which fails if IIS is running on the machine
2016-05-31 18:55:29 -07:00
Hao Kung 13a3bbaeb6 Update AuthZ test 2016-05-31 17:16:47 -07:00