Cesar Blum Silveira
a53949c33e
Add CORS headers to known headers ( #389 ).
2016-01-04 12:26:21 -08:00
David Fowler
4f8ec86b54
React to HttpAbstractions changes
2015-12-31 14:04:47 -08:00
Stephen Halter
5296d89337
Merge branch 'benaadams/messagebody.for' into dev
2015-12-30 17:38:48 -08:00
Stephen Halter
072f2b1a20
Merge branch 'benaadams/valuetask' into dev
2015-12-30 16:51:48 -08:00
Cesar Blum Silveira
6fbb9a0cfe
Cleanup: private embedded types and readonly where appropriate ( #187 ).
2015-12-30 12:47:13 -08:00
Ben Adams
f7ac457b40
Use ValueTask
2015-12-30 19:41:55 +00:00
Cesar Blum Silveira
67ed24896a
Dispose socket on Accept() error.
2015-12-28 12:19:35 -08:00
Ben Adams
11b360b667
Faster MessageBody.For
2015-12-26 07:11:54 +00:00
Ben Adams
186f6d0a05
Horizontal initialize repeat vectors once
2015-12-17 10:18:20 +00:00
Stephen Halter
67a0165aec
Merge branch 'benaadams/headers.clearfast' into dev
2015-12-16 15:48:01 -08:00
Ben Adams
559cd51255
Faster Headers.ClearFast
2015-12-16 22:23:33 +00:00
Ben Adams
9fa9c45eda
ReuseStreams config and tests
2015-12-16 21:27:07 +00:00
Ben Adams
841ec73497
Prevent OnComplete modifying Streams
2015-12-16 20:51:45 +00:00
Ben Adams
f5e45accac
Amortize Stream Costs
2015-12-16 20:51:44 +00:00
Cesar Blum Silveira
349af50977
Pre-allocate standard method and version strings.
2015-12-16 10:47:59 -08:00
Ben Adams
dc9f5c433b
Update reason phrases to current
...
Update HTTP reason phrases to current values; are currently original
phrases.
2015-12-13 23:17:03 +00:00
Ben Adams
5665eba646
Pool WriteContexts additionally
2015-12-10 20:31:30 +00:00
Stephen Halter
3e42904096
Pool UvWriteReqs instead of SocketOutput.WriteContexts
...
- This allows all connections accepted by the same thread to share a pool
2015-12-10 20:31:30 +00:00
Ben Adams
97d3340624
Resuse writes, initalize queues
2015-12-10 20:31:28 +00:00
Stephen Halter
f9d70e601c
Set error before changing state in SocketInput.AbortAwaiting
...
- This fixes a tight race where awaiting code might continue but not see
the ODE that moved SocketInput into the completed state.
2015-12-10 12:21:20 -08:00
Stephen Halter
f42bb02f24
Merge branch 'benaadams/server-crash' into dev
2015-12-10 12:18:13 -08:00
Ben Adams
9e8b07ecf8
Error concurrent reads gracefully
2015-12-10 16:25:06 +00:00
John Luo
fd33475c05
Ignore null valued headers #429
2015-12-09 17:23:34 -08:00
Stephen Halter
dd02a1c442
Fix compiler warnings
2015-12-08 17:31:57 -08:00
Stephen Halter
de5dd4ca57
Merge branch 'benaadams/trim-streams' into dev
2015-12-08 00:11:29 -08:00
Stephen Halter
d0dca75241
Remove count parameter from ISocketOutput.ProducingComplete
...
- This makes the calling code cleaner with a (hopefully) minimal pref impact
2015-12-08 00:09:24 -08:00
Ben Adams
59bfb9ba10
Trim req/resp streams by a field each
2015-12-07 15:31:14 +00:00
Stephen Halter
706ff04160
Merge branch 'benaadams/statemachines' into dev
2015-12-07 00:07:14 -08: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
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
Ben Adams
b7c60de98a
Don't allocate request processing delegate
2015-12-02 15:23:09 +00: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
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
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