Commit Graph

14348 Commits

Author SHA1 Message Date
Louis DeJardin 99fc7e4e50 Moving the Start/Stop logic into Frame.
Also formalizes the relationship between the function's Task and
how it relates to graceful shutdown. Specifically how it relates
to finishing the requests currently in progress.
2015-09-25 12:49:26 -07:00
Louis DeJardin 325423de40 Sorting usings 2015-09-25 12:49:26 -07:00
Louis DeJardin f89a586b75 Removing boilerplate-generated #region 2015-09-25 12:49:25 -07:00
Louis DeJardin 37f7dfd01f Typo in comments 2015-09-25 12:49:25 -07:00
Louis DeJardin c424b8437c Renaming based on PR feedback 2015-09-25 12:49:24 -07:00
Louis DeJardin 844c791b16 Processing function should return Task 2015-09-25 12:49:23 -07:00
Louis DeJardin 091084cfe2 Refactoring MemoryPool class locations
Moving Iterator out into its own file rather than being a nested class
Moving pool classes into Infrastructure namespace instead of Http
2015-09-25 12:49:23 -07:00
Louis DeJardin 13defc5a32 Initialize Memory2 in ListenerContext
Better than initializing from multiple other classes
2015-09-25 12:49:22 -07:00
Louis DeJardin 13f46bb66b Using multiple threads in SampleApp 2015-09-25 12:49:22 -07:00
Louis DeJardin 5ba1b9fb3c Secondary listeners need to allocate their own memory pool 2015-09-25 12:49:21 -07:00
Louis DeJardin 6db3d9e645 Using specific exception types 2015-09-25 12:49:21 -07:00
Louis DeJardin 76b528e1d2 Adding comments to MemoryPool classes 2015-09-25 12:49:20 -07:00
Louis DeJardin ff0affe34d Removing _frameTask and fixing Task.Run argument 2015-09-25 12:49:19 -07:00
Louis DeJardin 30ec2cb0b1 Harden framing epilog
* Connection no longer needes Frame's processing Task
* Any exceptions from unusual processing is logged
2015-09-25 12:49:19 -07:00
Louis DeJardin 28250d9981 Providing Path to application 2015-09-25 12:49:18 -07:00
Louis DeJardin 04f6446a50 Updates for PR feedback 2015-09-25 12:49:18 -07:00
Louis DeJardin d3a87c4c14 Removing MessageBodyExchanger base class 2015-09-25 12:49:17 -07:00
Louis DeJardin 7917569466 Changing chunked with exception test criteria 2015-09-25 12:49:16 -07:00
Louis DeJardin 52dc37eae7 Fixing a header parsing bug
When request header data arrives with \r\n split across packets
2015-09-25 12:49:16 -07:00
Louis DeJardin e5a3bda3a2 Progress on flow control
* Dealing with race conditions
* Reworking iterator methods
* Shutdown and Close need to be passed throught the write-behind mechanism
2015-09-25 12:49:15 -07:00
Louis DeJardin 4193c92ba7 Fixing merge conflicts 2015-09-25 12:49:15 -07:00
Louis DeJardin 1f6aaebeda Changing flow control for incoming data
SocketInput is now awaitable
Input buffers are slab-allocated and pinned from large object heap
Request frame parsing is offloaded from libuv thread
2015-09-25 12:49:14 -07:00
Louis DeJardin 557f6d6993 Refactoring response control flow
- Bring through both sync and async execution paths
- Remove callback pattern from from and socketoutput write calls
2015-09-25 12:47:51 -07:00
Stephen Halter 1e39473047 uv_pipe_connect returns void
This fix prevents Libuv.pipe_connect from throwing when the stack
memory that was previously incorrectly interpreted as the int return
value happens to be negative.

When pipe_connect threw, an assertion failure would follow since the
pipe handle would be closed prematurely.

http://docs.libuv.org/en/v1.x/pipe.html#c.uv_pipe_connect

#205
2015-09-25 11:40:40 -07:00
Ajay Bhargav Baaskaran 019a50b3db React to aspnet/Mvc#3165 2015-09-25 11:03:20 -07:00
Pranav K a3f24bcb1d Reacting to Configuration changes 2015-09-25 07:51:25 -07:00
Chris R c426fa97d5 React to configuration API changes. 2015-09-25 06:28:58 -07:00
Chris R a9e7948d72 #77 Catch startup exceptions and show them in the browser. 2015-09-24 21:41:08 -07:00
Stephen Halter ca8161466e Allow mock libuv to shutdown gracefully.
This speeds up SocketOutputTests and reduces the total test time on my
machine from 35 seconds to 25 seconds.
2015-09-24 17:20:39 -07:00
N. Taylor Mullen 520fc2b5fd Fixed stack overflow when setting RequestServices
- Added tests
2015-09-24 17:09:29 -07:00
Doug Bunting 345c59826c Update to latest `dnvm`
- beta6-10394 to beta8-15518
  - grabbed from aspnet/Home but left default feed URIs alone
  - includes important fixes such as `dnvm use alias -r coreclr` support
2015-09-24 15:29:59 -07:00
Arthur Vickers c4097f8080 React to EF fluent API changes 2015-09-24 10:44:30 -07:00
Ajay Bhargav Baaskaran d82bc7ca9d Enabling NuGetPackageVerifier 2015-09-24 10:33:08 -07:00
Brennan b9f26311ef Fix test dependency 2015-09-24 08:26:00 -07:00
Kiran Challa 8d6bacb44d Made the log level to be warning instead of information 2015-09-24 05:25:13 -07:00
Kiran Challa ea3fb85006 Changed google and twitter oauth client id and secret 2015-09-23 17:04:53 -07:00
Ajay Bhargav Baaskaran cde733a63a Enabling NuGetPackageVerifier 2015-09-23 16:42:29 -07:00
Kiran Challa d89747927e Minor clean up related to formatting 2015-09-23 16:31:21 -07:00
Eilon Lipton c4bf10d6e9 Add third party notices for libuv
Fixes #218
2015-09-23 15:42:58 -07:00
Hao Kung 21c043d788 React to Caption => DisplayName 2015-09-23 15:11:27 -07:00
Hao Kung 551da3e558 Caption => DisplayName 2015-09-23 14:57:14 -07:00
Ajay Bhargav Baaskaran 9b1558dddd Enabling NuGetPackageVerifier 2015-09-23 14:56:00 -07:00
Brennan 3a8ecc7d4a Add Dictionary and List dependency to dnxcore50 2015-09-23 14:46:52 -07:00
Hao Kung fa9cba8a7a React to security 2015-09-23 14:10:23 -07:00
Kiran Challa ce88fe4f5e Enabled tests skipped on Kestrel and minor formatting 2015-09-23 14:07:21 -07:00
Hisham Bin Ateya 38bd9f4232 Add project.json description 2015-09-23 23:54:17 +03:00
Hao Kung 49520a2a73 Switch to IServiceProvidersFeature for RequestServices 2015-09-23 13:33:07 -07:00
Kiran Challa f9a03e83e9 Fix the way data is seeded to prevent using disposed ef contexts 2015-09-23 13:20:49 -07:00
Ajay Bhargav Baaskaran 67d9cb7abb Enabling NuGetPackageVerifier 2015-09-23 12:42:57 -07:00
Ajay Bhargav Baaskaran 7b697e8ec9 Enabling NuGetPackageVerifier 2015-09-22 16:06:18 -07:00