Commit Graph

16116 Commits

Author SHA1 Message Date
ryanbrandenburg a7951a1d8d * Remove samples 2015-11-12 10:06:50 -08:00
Nick Craver a45a671b22 Make ReadAsync state overload 451 only and private. 2015-11-11 18:55:56 -05:00
Stephen Halter e5ff33eda2 Remove UvAsyncHandle.DangerousClose
- This should stop the AVs we've been seeing in some of our test runs
2015-11-11 15:24:09 -08:00
ryanbrandenburg 88ad99d497 * Fix scrolling on error page 2015-11-11 09:19:42 -08:00
Pavel Krymets ecb7e697d1 Fix bug with environment name beeng overwritten
After being set using UseEnvironment
2015-11-11 08:44:24 -08:00
Ben Adams ade0dbadb3 Slow date wait for CI
Resolves #339
2015-11-11 13:06:15 +00:00
Ben Adams 0500043cc9 .Result -> .GetAwaiter().GetResult() 2015-11-11 09:46:56 +00:00
Nick Craver d1221e82c1 Pass cancellation tokens down consistently
I'm assuming these are oversights since the usage is inconsistent.
Otherwise this served only as a mild waste of time :)
2015-11-10 22:58:19 -05:00
Stephen Halter 55f6f21d5a Build Microsoft.AspNet.Server.Kestrel.Https for dotnet5.4 2015-11-10 17:15:35 -08:00
Stephen Halter bdbd9ae7a6 Merge branch 'benaadams/socketoutput-tasks' into dev 2015-11-10 15:55:10 -08:00
Ben Adams d32937eafe Add tests for non-immediate byte counting 2015-11-10 23:17:40 +00:00
David Fowler f813d3cce8 Merge pull request #469 from khellang/uri-helper-string-concat
Changed string.Format to StringBuilder
2015-11-10 14:08:32 -08:00
Pavel Krymets b2edb0d484 Fix environment variable loading in hosting #470 2015-11-10 12:26:07 -08:00
Ben Adams 34cec3448d SocketOutput to Tasks 2015-11-10 19:53:43 +00:00
Troy Dai d0bdede709 Update the reference link in comments of SockAddr 2015-11-10 11:11:32 -08:00
Kristian Hellang f726b7b591 Added PERF comment 2015-11-10 19:55:14 +01:00
Troy Dai d9c15e0180 Add references to socket in comments 2015-11-10 10:37:12 -08:00
Ben Adams 344c821f83 Remove sync block->task
await rather than synchronously blocking and then returning a
Task.FromResult
2015-11-10 18:23:44 +00:00
Troy Dai d08b83a1c7 Fix get IPAddress for Darwin 2015-11-10 10:04:10 -08:00
Nick Craver 6874b87f13 C#6 Cleanup & Optimizations
The main intent is cleanup using C# 6 operators and normalization of
type aliases. While there are no intended functional changes here, it
does eliminate a few tight race conditions as a bonus (not a real-win
since this isn't thread-safe all over, simply noting).
2015-11-10 09:38:49 -08:00
David Fowler 466ca57d4b Merge pull request #471 from benaadams/lazy-init
Lazily initialize DefaultHttpContext
2015-11-10 07:20:52 -08:00
Ben Adams e5a3285090 Lazily initialize DefaultHttpContext
Lazily initialize sub objects of DefaultHttpContext

Resolves #470
2015-11-10 15:05:29 +00:00
Ben Adams c0f82765aa Move logging to new style 2015-11-10 10:43:51 +00:00
Kristian Hellang 7b35b2e1b9 Pass length to StringBuilder 2015-11-10 11:03:51 +01:00
Kristian Hellang 663c7917d0 Changed string.Format to StringBuilder 2015-11-10 10:31:56 +01:00
Ben Adams a2c4e3a654 Task.Run -> ThreadPool.QueueUserWorkItem
Task.Run eventually ends up being QueueUserWorkItem.
The returned task is ignored, so no added goodness.
Short running item.

Cut out the middleman
2015-11-10 07:28:17 +00:00
Pawel Kadluczka 0bfc97e46f Fixing test so that it runs on CoreClr 2015-11-10 01:44:42 +00:00
Pavel Krymets 660f1cad10 Make hosting configuration consistent 2015-11-09 16:35:27 -08:00
Damian Edwards e1a95c97e1 Merge pull request #342 from benaadams/completed-task
Completed Task opt
2015-11-09 12:51:21 -08:00
Ryan Nowak 308dd109a0 Reduce allocations on Conneg hotpath 2015-11-09 09:16:30 -08:00
Ben Adams 278bd9c962 Completed Task opt 2015-11-09 04:32:08 +00:00
Doug Bunting dddc6a2ebb Remove quotes from `@addTagHelper` directive
- react to aspnet/Razor#561 fix: PR aspnet/Razor#591 and commit aspnet/Razor@0c95315
2015-11-07 12:27:32 -08:00
Pavel Krymets 5bb737b6ad Make Compilation Abstractions naming consistent with Platform Abstractions 2015-11-06 15:10:11 -08:00
Pavel Krymets 740b51e0bc Make Compilation Abstractions naming consistent with Platform Abstractions 2015-11-06 15:08:07 -08:00
SteveSandersonMS 717fb37034 Rename packages. Bump versions to -alpha6 2015-11-05 14:23:11 -08:00
SteveSandersonMS 54aad643c8 Decode Node's JSON response into arbitrary .NET type. Add VS stuff. 2015-11-05 22:05:43 +00:00
SteveSandersonMS 52953c5fe9 Fix working directory (e.g., for when running under IIS Express) 2015-11-05 12:25:29 -08:00
Stephen Halter 9d19eed88f Merge branch 'benaadams/memorypool2-allocate' into dev 2015-11-05 12:16:43 -08:00
Stephen Halter bb9f83186b Remove unused parameter from ListenerSecondary.ReadStartCallback 2015-11-05 12:09:50 -08:00
SteveSandersonMS 46dc743177 Fix various path issues 2015-11-05 11:46:10 -08:00
Ricardo Peres a4c4e20d4e Restored Killed console message
Added Started console message
Captured possible exception from node process
2015-11-05 10:41:24 -08:00
SteveSandersonMS b5fb560c54 Require lodash (works around NPM dependency issue on Windows) 2015-11-05 10:22:39 -08:00
SteveSandersonMS 3e7dfa617a Update version of base package to -alpha4 2015-11-05 09:17:46 -08:00
Stephen Halter fff28990fe Ensure ListenerSecondary buffer isn't double freed or freed too early
- Call buf_init in StartAsync so we have access to a KestrelThread
2015-11-04 16:21:29 -08:00
Chris R f050e09283 Revert use of explicit converters that prevent APIs from returning null. 2015-11-04 16:03:36 -08:00
Stephen Halter 74f08c16df Merge branch 'benaadams/listenersecondary-allocs' into dev 2015-11-04 15:34:42 -08:00
Ben Adams 3e7969cefe Move handle creation to constructor 2015-11-04 22:44:30 +00:00
Stephen Halter 272ce27c79 Merge branch 'benaadams/delegates' into dev 2015-11-04 14:21:13 -08:00
Ben Adams 5cef608e52 Dispose _ptr 2015-11-04 22:20:51 +00:00
Ben Adams 22dfd31261 More readable loop condition 2015-11-04 22:04:19 +00:00