Louis DeJardin
b999b47218
String concatination showed up in profiler
2015-08-03 16:20:26 -07:00
Louis DeJardin
f6dc72544c
Response headers don't need to be queued before subsequent write
2015-08-03 16:20:24 -07:00
Louis DeJardin
c0728edda7
Linq .Any() was causing enumeration
2015-08-03 16:20:22 -07:00
Louis DeJardin
f9cf9f1936
Improvements to appending request header
2015-08-03 16:20:20 -07:00
Louis DeJardin
96b03ee212
Perf - enumerate with struct
...
Conflicts:
src/Microsoft.AspNet.Server.Kestrel/project.json
2015-08-03 16:20:18 -07:00
Louis DeJardin
963f086eb0
Prototypeing a fast header dictionary
...
Conflicts:
src/Microsoft.AspNet.Server.Kestrel/project.json
2015-08-03 16:20:14 -07:00
Stephen Halter
4a9515d2e0
Gracefully handle uncaught exceptions in user code when possible
2015-07-30 16:01:33 -07:00
Troy Dai
07de3cafd1
Clean build warnings
2015-07-30 12:14:13 -07:00
Stephen Halter
47d7f73bdc
Fix SocketOutput so that it can now complete large writes
...
- Complete in this context means that the callback gets invoked.
- Previously, calls to write would never complete if the buffer contained
more than 64 KB (_maxBytesPreCompleted).
- This is tested by SocketOutputTests.CanWrite1MB.
2015-07-28 16:57:24 -07:00
Stephen Halter
c345849707
Don't use QueueUserWorkItem to trigger write callbacks immediately
...
- In this case we are off the event loop, so we can invoke the callback directly.
- Increase _maxBytesBufferedBeforeThrottling
2015-07-28 16:57:21 -07:00
Stephen Halter
74fa82bca7
Complete WriteAsync Tasks early when there are less than 64KB buffered
2015-07-28 16:57:19 -07:00
Stephen Halter
d723f9da21
Reduce calls to uv_write by calling it with multiple buffers when possible
2015-07-28 16:57:16 -07:00
Louis DeJardin
baeb3e7962
Fixing write2.Dispose() to avoid creating closure
2015-07-24 15:47:31 -07:00
Louis DeJardin
17a846ad8e
Method not used by descendants
2015-07-24 15:44:27 -07:00
Louis DeJardin
62ec11be7e
Adding internal Constants class
2015-07-24 15:43:43 -07:00
Louis DeJardin
f935567cfd
Read callback status is always 0 for any error and EOF
2015-07-24 15:36:45 -07:00
Louis DeJardin
3d45602513
Catch Accept because of EAGAIN
2015-07-24 14:02:42 -07:00
Louis DeJardin
42246fd51b
Using named pipes to dispatch connections to multiple threads
2015-07-24 13:50:13 -07:00
Louis DeJardin
ceeb4edabd
Adding UvPipeHandle
2015-07-24 13:50:10 -07:00
Stephen Halter
c199e5eee1
Wait on user-defined OnStarting and OnCompleted callbacks
2015-07-21 12:44:57 -07:00
Stephen Halter
b9901c3bfe
Surface fatal exceptions that stop the event loop
...
- Request an app Shutdown so KestrelEngine gets disposed
- Ensure Listener.Dispose doesn't deadlock before the engine
can be disposed
- Rely on the existing logic to rethrow in the fatal error when
the engine gets disposed
2015-07-21 11:58:26 -07:00
Ben Adams
23ffc3fea9
ConfigureAwait(false)
2015-07-19 15:50:42 +01:00
Pranav K
853ee00ff5
Merge remote-tracking branch 'origin/release' into dev
2015-07-16 08:43:59 -07:00
markrendle
98995132de
Pre-create Continue bytes in Frame
2015-07-13 10:43:05 -07:00
Stephen Halter
0670b7ae61
Ensure all the C# files have copyright notices
2015-07-06 17:49:00 -07:00
Stephen Halter
4b66edc4fe
Move non-nested classes and interfaces to their own files
2015-07-06 17:48:58 -07:00
Hao Kung
f724fefbda
React to HttpChanges
2015-06-25 17:28:07 -07:00
Stephen Halter
a992c78548
Dispatch user defined callback so it can't block the event loop
2015-06-15 10:07:58 -07:00
Stephen Halter
7e125faa73
Dispatch user defined callback so it can't block the event loop
2015-06-12 17:02:27 -07:00
Chris R
08c0bbbd60
React to OnSendingHeaders rename.
2015-06-12 15:05:45 -07:00
N. Taylor Mullen
063fb64c8b
Update LICENSE.txt and license header on files.
2015-05-01 13:53:45 -07:00
Ajay Bhargav Baaskaran
c1e298b010
React to aspnet/HttpAbstractions#160 - Implementing OnResponseCompleted
2015-03-16 15:10:53 -07:00
N. Taylor Mullen
06a82669f5
Update aspnet50/aspnetcore50 => dnx451/dnxcore50.
2015-03-08 12:51:12 -07:00
Chris Ross
045a6eb4ba
Add new HeadersSent API.
2014-11-06 12:10:15 -08:00
David Fowler
418f745292
Updated to use the new target framework in project.json
2014-09-04 01:52:19 -07:00
Louis DeJardin
de6c32dc4b
Guarding against leaking GCHandles in read/write operations
...
See #19
2014-07-08 18:11:09 -07:00
Louis DeJardin
2da561cb7a
Garbage collecting safe handles need to queue the uv_close
...
All of the uv_* calls must be called on the original thread
the finalizer thread cleaning up safehandle classes needs
special handling
see #16
2014-07-08 16:02:09 -07:00
Louis DeJardin
836be5565a
Using weak gchandles from native to managed
...
See #15
2014-07-08 14:51:13 -07:00
Louis DeJardin
21778f631a
Guarding against more read_cb cases
2014-07-07 14:01:02 -07:00
Louis DeJardin
8624b82b2b
Improving callback exception support
...
Also renaming KestralTests to KestrelTests
2014-07-07 13:08:25 -07:00
Louis DeJardin
7c626431a1
Adding Upgrade support, using WebSocket middleware from sample app
2014-06-27 22:25:38 -07:00
Louis DeJardin
e4b9bd265c
Adjusting Kestrel to run cross platform
2014-06-27 20:01:44 -07:00
Louis DeJardin
63637be073
Listener.Dispose should block until operation is complete
2014-06-25 20:57:12 -07:00
Louis DeJardin
9e4bc60205
Adding amd64 support
...
Moves Libuv.dll into nupkg
Uses ILibraryManager to locate location for native libraries
Updates version numbers to 1.0.0-*
Throws exceptions with error text provided by libuv.dll
Bind to ip4 or ip6 endpoints
Getting server defaults from ini
Enabling "Kestrel" to be used as a Main entrypoint
2014-06-20 21:09:44 -07:00
Louis DeJardin
17e566c5d1
Adding "server.urls" configuration support to kestrel
2014-06-17 22:45:53 -07:00
Louis DeJardin
6ac6419f4f
Adding support for 'k web --server kestrel'
2014-06-13 13:10:46 -07:00
Louis DeJardin
9c7cb6a958
Adding some tests for Http11
...
Requires updating to test utilities
Adding initial EventSource to try to see some order of events
2014-06-11 17:09:25 -07:00
Louis DeJardin
660babcd7f
Adding core clr configurations
2014-06-10 00:29:16 -07:00
Louis DeJardin
ebd6af0fd6
Trying to get 100 Continue working again
2014-06-08 01:03:56 -07:00
Louis DeJardin
044bbb83e6
Getting request body variations to work
2014-06-07 02:49:25 -07:00
Louis DeJardin
313db3f0cf
Removing unnecessary using statements
2014-06-06 22:16:08 -07:00
Louis DeJardin
e517e39aac
Not working, but worth taking a snapshot of the source
2014-06-06 22:13:31 -07:00
Louis DeJardin
c9d6db14bc
Adding an engine, a thread manager, an accept loop
2014-06-03 16:41:55 -07:00