Stephen Halter
706ff04160
Merge branch 'benaadams/statemachines' into dev
2015-12-07 00:07:14 -08:00
Stephen Halter
c451ce1863
Merge branch 'khellang/thread-count-init' into dev
2015-12-06 23:32:57 -08:00
David Fowler
edda58fc0a
Merge pull request #448 from benaadams/patch-1
...
Pooled block always has pool
2015-12-05 15:45:19 -08:00
Kristian Hellang
5eaa7e51c8
Initialize ThreadCount as early as possible
...
This will allow you to inspect the property
in the Configure method.
Closes #404
2015-12-04 20:55:37 +01:00
Ben Adams
35a06369d7
Pooled block always has pool
2015-12-04 08:23:12 +00:00
Stephen Halter
1c320d7a74
Merge branch 'benaadams/dont-use-default-buffer-size' into dev
2015-12-03 18:28:24 -08:00
Stephen Halter
737aac4cfc
Merge branch 'benaadams/over-the-edge' into dev
2015-12-03 18:28:05 -08:00
Ben Adams
858e5ab3a2
Moar stopping power, Timeout is total timout
2015-12-03 23:37:54 +00:00
Ben Adams
1ca67695ed
Use pooled memory for filtered stream
2015-12-03 19:17:40 +00:00
Ben Adams
9af9dea72c
Smaller default buffer
2015-12-03 18:46:43 +00:00
Ben Adams
c41b449681
Lighter & less async sMachines
...
Selected excerpts from "Value tasks + Less Async" #432
2015-12-03 11:10:20 +00:00
Ben Adams
b1e8f0cdea
Add IThreadPool interface
2015-12-03 10:37:52 +00:00
Ben Adams
850d2b0c7e
Construct ThreadPoolActions in KestrelServer
2015-12-03 09:56:21 +00:00
Ben Adams
5ae9b3c383
Log user code threadpool continuation execptions
2015-12-03 09:56:21 +00:00
Stephen Halter
10490888d3
Merge branch 'tenor/speed-up-date' into dev
2015-12-02 19:52:48 -08:00
Stephen Halter
b84d8dbd07
Minor style changes to tenor/speed-up-date
...
- Removed some code required to support sub-second timer intervals
2015-12-02 19:50:55 -08:00
Stephen Halter
7cbbf68e9d
Merge branch 'benaadams/connectionfilter' into dev
2015-12-02 19:21:05 -08:00
Stephen Halter
bb2c17a779
Merge branch 'benaadams/req-delegate' into dev
2015-12-02 19:17:16 -08:00
Ben Adams
a85f37697c
Add SSL+Upgrade regression test
2015-12-03 02:10:37 +00:00
Ben Adams
a55be21469
Empty buffer when null buffer
2015-12-03 02:10:36 +00:00
Ben Adams
b7c60de98a
Don't allocate request processing delegate
2015-12-02 15:23:09 +00:00
John Luo
32a038e5ea
Reacting to the removal of ILoggerFactory.MinimumLevel
2015-12-01 15:24:36 -08:00
John Luo
168f4770f4
Reacting to new IServer and IHttpApplication design
2015-12-01 13:03:46 -08:00
Stephen Halter
0c33cad343
Merge branch 'benaadams/kestrel-thread-api' into dev
2015-12-01 12:20:41 -08:00
Sunny Ahuwanya
6251b8f3e6
Changed timer interval to 1 second.
2015-12-01 09:29:54 -05:00
Cesar Blum Silveira
921c338a40
Support PathBase ( #214 ).
2015-11-30 16:42:02 -08:00
David Fowler
8b310c4583
Merge pull request #436 from benaadams/imemorypool
...
Remove unused IMemoryPool
2015-11-29 08:12:06 -08:00
Ben Adams
9102c1bb92
Remove unused IMemoryPool
2015-11-29 10:13:14 +00:00
Ben Adams
2937fc3c98
OnConnection->OnConnectionAsync
...
Resolves #433
2015-11-29 03:57:47 +00:00
Sunny Ahuwanya
67a0f2d420
Reverted ISystemClock to use DateTimeOffset
2015-11-28 21:27:51 -05:00
Sunny Ahuwanya
7f025a6bd4
Speed up DateHeaderValueManager
...
Replaced PumpTimer() method with StartTimer(), introduced StopTimer()
method which pauses timer when idle instead of disposing it,
ISystemClock returns DateTime instead of DateTimeOffset.
2015-11-28 20:15:17 -05:00
David Fowler
ea7f40c592
Merge pull request #408 from benaadams/CancellationTokenSource
...
Remove CreateLinkedTokenSource
2015-11-25 01:32:04 -08:00
Stephen Halter
07c0b414f0
Merge branch 'benaadams/faster-headers' into dev
2015-11-23 15:10:24 -08:00
Ben Adams
16cccb50cb
Merge pull request #3 from stephentoub/delay_cts_allocation
...
Lazily allocate the RequestAborted CTS
2015-11-21 14:16:28 +00:00
Ben Adams
81dba3961d
less work in locks
2015-11-21 14:13:23 +00:00
stephentoub
c7d7f0e575
Lazily allocate the RequestAborted CTS
...
Avoid allocating the CancellationTokenSource unless it's actually requested. This makes it pay-for-play with regards to code that actually asks for the RequestAborted token and requests that are aborted.
2015-11-21 08:38:48 -05:00
Cesar Blum Silveira
e4fd91bb68
Fix hang on Connection: close requests. ( #406 )
2015-11-20 20:43:52 -08:00
Ben Adams
feb40402de
merge preamble-output, socket-output
2015-11-21 04:18:06 +00:00
Ben Adams
a3173c487a
Precomputed header bytes
2015-11-21 00:22:44 +00:00
Stephen Halter
0dbf108353
Smarter unpinning of MemoryPoolBlock2 in SocketOutput
2015-11-20 12:59:53 -08:00
Stephen Halter
2572256d3f
Use MemoryPool2 for SocketOutput Buffers
...
Add ProducingStart and ProducingComplete methods to ISocketOutput.
These new methods can help prevent double buffering when encoding.
2015-11-20 04:41:33 -08:00
Ben Adams
9d852632c0
Remove _nullBuffer
...
Was meant to be removed as part of #335
/cc @rynowak
2015-11-20 05:51:25 +00:00
Ben Adams
174ec739bb
Don't log ODEs thrown from _abortedCts.Cancel
2015-11-20 00:30:08 +00:00
Chris R
1c40548928
Add LoggingConnectionFilter.
2015-11-19 16:28:45 -08:00
Ben Adams
3c7431aa35
Change disconnect to abort cts
2015-11-19 23:25:31 +00:00
Ben Adams
58d8c851c5
Remove CreateLinkedTokenSource
...
Resolves #407
2015-11-19 21:50:10 +00:00
Cesar Blum Silveira
307e020703
Don't crash the server if a connection filter throws synchronously.
2015-11-19 13:27:43 -08:00
Master T
efec0feda2
Fix merge
2015-11-18 08:29:30 +01:00
Master T
2cdd659e67
Fix indentation
2015-11-18 05:11:57 +01:00
Master T
592d802fde
Add test for https scheme, code cleanup
2015-11-18 05:06:30 +01:00