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
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
Chris R
31c7db25a2
Merge branch 'release' into dev
2015-11-04 13:39:13 -08:00
SteveSandersonMS
7c3d22c7b6
Add react tag helper. Clean up code and make it more consistent.
2015-11-04 12:19:43 -08:00
Chris R
a0466868e1
Publish tests with no-source to avoid signing issue.
2015-11-04 11:42:10 -08:00
Stephen Halter
3e6df1e685
Merge branch 'benaadams/LibuvCopier-compile-issue' into dev
2015-11-04 10:58:58 -08:00
Stephen Halter
35bbddf9b5
Merge branch 'benaadams/listener-primary-alloc' into dev
2015-11-04 10:14:52 -08:00
Stephen Halter
04b2885f10
Merge branch 'benaadams/listener-allocation' into dev
2015-11-04 10:12:33 -08:00
Stephen Halter
f4be290d4a
Merge branch 'benaadams/connection-allocs' into dev
2015-11-04 10:08:36 -08:00
Brennan Conroy
13886a5af3
Merge branch 'release' into dev
2015-11-04 09:54:16 -08:00
Cesar Blum Silveira
87a20119fd
Merge branch 'release' into dev
2015-11-04 09:22:28 -08:00
BrennanConroy
7371558dbf
azureadwebstack release feed
2015-11-04 08:33:47 -08:00
David Fowler
2aa067549f
Merge pull request #329 from benaadams/no-header-array-alloc
...
Don't alloc array per header
2015-11-04 05:11:10 -08:00
Ben Adams
cc84097016
Listener - remove closure allocation
2015-11-04 12:36:32 +00:00
Ben Adams
1d4b9d6633
ListenerPrimary - reduce closure allocation
...
Still captures string pipeName
2015-11-04 12:33:51 +00:00
Ben Adams
d104e8a08d
Reduce delegate allocation
2015-11-04 12:31:44 +00:00
Ben Adams
34c1a671f0
ListenerSecondary - reduce closure allocation
2015-11-04 12:20:00 +00:00
Ben Adams
5ae1c4ecb2
MemoryPool2 Allocate returns newest
...
Rather than a while loop on Allocate; return last memory block created
rather than returning it to the pool and checking if one can be removed.
2015-11-04 08:37:12 +00:00