Commit Graph

12009 Commits

Author SHA1 Message Date
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
ASP.NET Push Bot 4f0d14c1d2 ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@1aaa9faa82
2015-07-29 11:19:22 -07:00
ASP.NET Push Bot 23b0f6a2e4 ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@6550ac887e
2015-07-29 09:37:39 -07:00
ASP.NET Push Bot f853bc9a4b ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@6550ac887e
2015-07-29 09:21:17 -07:00
Victor Hurdugaci 50612d7d74 React to DNX renames 2015-07-29 02:05:08 -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
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
Kiran Challa 81fe6dc7c8 Added Dockerfile to beta4 and beta5 samples 2015-07-28 16:13:21 -07:00
Kiran Challa a0fa6e45c0 Added Beta6 samples 2015-07-28 16:01:24 -07:00
ASP.NET Push Bot bf6b720620 ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@d092afd2d3
2015-07-28 10:28:35 -07:00
ASP.NET Push Bot 0a58753ded ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@e196ca655a
2015-07-28 09:58:12 -07:00
ASP.NET Push Bot b188dc8e14 ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@7aa35c4719
2015-07-27 16:49:46 -07:00
ASP.NET Push Bot 5452c71585 ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@bb181df257
2015-07-27 15:49:06 -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
Glenn Condron a053ece997 Merge pull request #537 from tlk/dev
Add Dockerfiles and improve instructions on how to use the ASP.NET Docker image
2015-07-24 15:59:21 -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
Kirthi Krishnamraju 8fdc275262 Added Localization repo to makefile 2015-07-23 16:00:31 -07:00
Pranav K 8271552cc6 Change pin-version to use the coherence build results
Fies #247
2015-07-22 13:35:30 -07:00
Stephen Halter a457f6da25 Merge branch 'release' into dev 2015-07-21 14:18:37 -07:00
Stephen Halter 4a284e5f81 Revert "React to FeatureModel package change."
This should not have been in the release branch yet!

This reverts commit 3cc0dd7a25.
2015-07-21 14:17:11 -07:00
Stephen Halter c199e5eee1 Wait on user-defined OnStarting and OnCompleted callbacks 2015-07-21 12:44:57 -07:00
Chris R 3cc0dd7a25 React to FeatureModel package change. 2015-07-21 12:44:56 -07:00
Stephen Halter 88689ccdb8 Merge branch 'release' into dev 2015-07-21 12:14:46 -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
Ben Adams e69f63e494 ConfigureAwait(false) 2015-07-19 15:47:39 +01:00
Ben Adams aedd548c3b Fix sample perf (Option 1)
No need to await just return Task
2015-07-19 15:32:37 +01:00
Chris R 93477efb41 React to FeatureModel package change. 2015-07-17 09:58:55 -07:00
Brice Lambson 14b08da4f3 Add Microsoft.Data.Sqlite 2015-07-16 13:52:11 -07:00