Commit Graph

14348 Commits

Author SHA1 Message Date
Stephen Halter 7446fe4cc7 Update SocketOutputTests to account for the "immediate" Write param 2015-08-03 16:20:30 -07:00
Louis DeJardin 6ff894bb19 Using masked byte sequences to recognize well-known header names 2015-08-03 16:20:28 -07:00
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 ad089be477 Removing "I like pie" diagnostics 2015-08-03 16:20:16 -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
Chris R b138f2a460 React to IFeatureCollection API changes. 2015-08-03 15:46:01 -07:00
Chris R 83b2c95385 React to IFeatureCollection changes. 2015-08-03 15:13:58 -07:00
Chris R ac945a0bcf #339 Reduce IFeatureCollection surface area. 2015-08-03 14:55:25 -07:00
sornaks 5d7ec0e2c6 Changing QueryHelpers.AddQueryString to use Array instead of List. 2015-08-03 11:08:54 -07:00
anurse 07304640ed react to DNX renames 2015-07-31 11:54:52 -07:00
anurse 712b1d1aec fix build 2015-07-31 11:48:21 -07:00
Brennan be06eec7ba Install Libuv on Travis 2015-07-31 11:32:01 -07:00
Chris R 84203a5d45 React to OpenIdConnectMessage namespace change. 2015-07-31 11:09:29 -07:00
Stephen Halter 6da15a65b2 Additional testing using app funcs that throw exceptions 2015-07-30 16:02:39 -07:00
Stephen Halter 4a9515d2e0 Gracefully handle uncaught exceptions in user code when possible 2015-07-30 16:01:33 -07:00
Stephen Halter b2289b9a54 Disable parallel test execution
- MultipleLoopTests and NetworkingTests seem to interfere with each other.
2015-07-30 15:20:22 -07:00
Troy Dai 07de3cafd1 Clean build warnings 2015-07-30 12:14:13 -07:00
Victor Hurdugaci 04c33bffd0 React to DNX renames 2015-07-29 11:49:38 -07:00
mishfit 466c441882 show how to exit
- grammer
- verbiage
2015-07-29 11:37:48 -07:00
Victor Hurdugaci 50612d7d74 React to DNX renames 2015-07-29 02:05:08 -07:00
Victor Hurdugaci 4154dbb8c3 Fix dnx arguments 2015-07-29 01:30:00 -07:00
Victor Hurdugaci 343d698286 React to DNX renames 2015-07-29 01:04:59 -07:00
Victor Hurdugaci 81e8830c67 React to DNX renames 2015-07-29 00:30:44 -07:00
Victor Hurdugaci dfe427d3b3 React to DNX renames 2015-07-29 00:01:20 -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 cce9d8f09c Make SocketOutput more testable
- Added a MockLibUv class
- Create a SocketOutputTests class
2015-07-28 16:57:22 -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 5b06a76367 Add sample that can produce large responses 2015-07-28 16:57:17 -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 166ec72484 Merge pull request #145 from aspnet/lodejard/multiloop
Multiple threads processing connections
2015-07-27 11:49:08 -07:00
Louis DeJardin 5e6e5fec01 Adding an IKestralServerInformation.ThreadCount property
Will default to 1 until multi-loop stability is ensured
2015-07-27 11:40:39 -07:00
Louis DeJardin 10bce6a2ec Constrain the timing on the dispatch test 2015-07-26 19:11:17 -07:00
Louis DeJardin e39fe60da0 Removing commented code 2015-07-24 16:19:15 -07:00
BrennanConroy 5aa94c27f7 Update project.json
How did this work before?
2015-07-24 15:57:49 -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 b93845be19 Removing debug code 2015-07-24 15:25:44 -07:00
Louis DeJardin 598250a1d8 Fixing pipe name in test 2015-07-24 15:23:01 -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
Kirthi Krishnamraju ed9b0f59b5 Updated code to generate resx file only if file names does not have locales 2015-07-24 09:26:46 -07:00
Eilon Lipton 6e45aecbc6 Update KestrelWebSocketHelpers.cs
Fixing build break.
2015-07-24 08:54:49 -07:00