Commit Graph

16244 Commits

Author SHA1 Message Date
Pranav K 0b8a3e8fcb Updating to release NuGet.config 2015-08-17 14:10:40 -07:00
Pranav K b87497c6da Tweaking update-release target to be runnable from the CI
* Relying on git log --exit-code to fail in case there are unmerged
  changes in the release branch.
* Specifically update aspnetvnext feed when branching to release.
2015-08-17 14:09:05 -07:00
Troy Dai e4722b0bef Update packages' versions 2015-08-17 11:11:16 -07:00
Troy Dai 9dd9d39bff Update packages' versions 2015-08-17 11:10:26 -07:00
David Fowler 52388e89f8 Removed builder arg parameter from IStartupFilter
- It broke the composition model by allowing you to
reach out to the original app builder. This breaks
the ability to properly wrap and have all configure
methods see the wrapper.
2015-08-16 19:16:49 -07:00
Ryan Nowak dbeba581ea Revert "React to MVC model binding changes and fix build break"
This reverts commit 52e2784f82.

This 'MVC change' listed here was a compatibility bug with earlier
versions of MVC and has been reverted.
2015-08-16 16:43:32 -07:00
Daniel Lo Nigro 9ade227abb Implement support for UNIX sockets.
The common use-case for Kestrel in production will be behind a reverse proxy such as Nginx. In cases where the reverse proxy is located on the same machine as the application, connecting via a UNIX socket is more efficient than a TCP socket, as it avoids going through the network layer. Accessing 127.0.0.1 through TCP still needs to initiate a TCP connection and perform handshaking, checksumming, etc, all of which is avoided by using UNIX sockets.

 - Moved TCP-specific stuff from Listener into new TcpListener class (same with ListenerPrimary and ListenerSecondary)
 - Made Listener abstract
 - Created new PipeListener. Note that while the use case is for UNIX sockets, this is called "Pipe" in uv, so I've called this "PipeListener" so the terminology is consistant
 - Uses "unix" URL scheme to determine whether to use socket. "http://127.0.0.1:5000" is for listening via TCP while "unix:///var/run/kestrel-test.sock" is for listening via UNIX socket

#156
2015-08-15 15:50:34 -07:00
David Fowler dfe8c39fe0 Merge pull request #275 from hishamco/dev
Shift 'Development' & 'Production' constants into 'EnvironmentName' class
2015-08-15 11:22:58 -07:00
Hisham Abdullah Bin Ateya 8e39bf4ffb Shift 'Development' & 'Production' constants into 'EnvironmentName' class
Make 'EnvironmentName' static

Change constants -> static readonly fields

Remove trailing spaces
2015-08-15 13:46:40 +03:00
David Fowler 412b4b9d69 Use the same libuv install script on travis as kestrel 2015-08-15 03:25:42 -07:00
David Fowler 62a909d1a7 Handle broken assembly versions on mono 2015-08-15 03:12:59 -07:00
David Fowler b9e930038b Merge pull request #282 from Tragetaschen/linux-test-fix
Disable two tests failing on Mono
2015-08-15 01:34:45 -07:00
Stephen Halter 753d64660d Ignore zero length writes when automatically chunking responses
- Zero length writes would previously be interpreted as the end of response
- Optimize writing the chunked response suffix
- Add tests for automatic response chunking
2015-08-14 15:59:47 -07:00
Stephen Halter 3fb33119ee Initial non-optimized support for automatically chunking responses 2015-08-14 15:59:39 -07:00
Andrew Stanton-Nurse b1a1f52331 Direct users to docs site for Mac instructions 2015-08-14 15:42:53 -07:00
Kiran Challa 52e2784f82 React to MVC model binding changes and fix build break 2015-08-14 13:13:09 -07:00
Stephen Halter 32c4f314b6 Lock around Connection.End to make it thread-safe 2015-08-14 12:17:06 -07:00
Stephen Halter 4f0480a4d0 Gracefully handle exceptions thrown from OnStarting callbacks
- If OnStarting is being called after the app func has completed, return a 500.
- If Onstarting is being called due to a call to write, throw from write.
2015-08-14 12:05:43 -07:00
Stephen Halter 6a01043e1a Fix ListenerSecondary so it reliably accepts new connections on Windows
Calling uv_read_start on a named pipe with a larger than necessary buffer
would cause pieces of the next uv_ipc_frame_uv_stream struct to be read into
the uv_read_start buffer when a lot of tcp handles were passed quickly over
the pipe.

This prevented the struct from properly being queued for the next call to
uv_accept to consume. The empty queue caused the call to uv_accept in
ListenerSecondary to fail and return WSAEWOULDBLOCK leaving the connection
in a zombie state.
2015-08-14 11:57:21 -07:00
Stephen Halter c0cc511b5b Prevent access to closed socket in in Connection.End 2015-08-14 11:49:45 -07:00
Stephen Halter b162202519 Properly close keep alive connections 2015-08-14 11:49:43 -07:00
sornaks e0c5e6c2fb Reacting to Mvc TagBuilder changes. 2015-08-14 11:08:12 -07:00
Kirthi Krishnamraju b271887d9f fix build break due to aspnet/configuration #246 2015-08-14 10:59:21 -07:00
Kirthi Krishnamraju d487a709e5 fix build break due to aspnet/configuration #246 2015-08-14 10:04:49 -07:00
Chris R 43ebf710ab Fix regression in reading config 2015-08-14 09:33:02 -07:00
Kirthi Krishnamraju c7535f127c fix build break due to aspnet\configuration #246 2015-08-13 22:42:48 -07:00
Kirthi Krishnamraju b67ca0a277 fix build break due to aspnet\Configuration #246 2015-08-13 22:22:45 -07:00
Chris R 3d06f3dfc2 Add ServerTests repo to build list. Fix build list ordering. 2015-08-13 14:28:31 -07:00
Kiran Challa f2a0ea6a21 React to HttpContextAccessor change 2015-08-13 11:34:38 -07:00
Kiran Challa 34ae48f242 Enable pinning build script 2015-08-13 10:03:39 -07:00
Kiran Challa 80bc61cbea Reacting to disposable logger provider 2015-08-13 08:48:40 -07:00
Stephen Halter 097fb35ddf Fix startup when you reference the assembly directly instead of Hosting
- I missed this change in Program.cs when doing the initial package merging
2015-08-12 15:14:01 -07:00
Hao Kung ad6e4b838a Goodbye HttpContextAccessor 2015-08-12 13:13:27 -07:00
Kiran Challa 9275250f6e Fix build break 2015-08-12 13:10:09 -07:00
Hao Kung 8487e42a68 Hello HttpContextAccessor 2015-08-12 13:08:58 -07:00
Stephen Halter 599217e7f8 React to Kestrel rename
aspnet/KestrelHttpServer#11
2015-08-12 12:26:48 -07:00
Stephen Halter e2be1a164f React to Kestrel rename
aspnet/KestrelHttpServer#11
2015-08-12 11:55:36 -07:00
Kiran Challa 6474c99343 Enable pinning build script 2015-08-12 05:37:36 -07:00
Kiran Challa 8d416d998b Enable pinning build script 2015-08-11 17:09:02 -07:00
Kiran Challa 44b762cf08 Enable pinning build script 2015-08-11 17:04:07 -07:00
Kiran Challa 1a7f12245c Enable pinning build script 2015-08-11 16:57:49 -07:00
Kiran Challa 282c50876b Enable pinning build script 2015-08-11 16:53:01 -07:00
Stephen Halter 136b1b4442 React to Kestrel rename
aspnet/KestrelHttpServer#11
2015-08-11 16:43:58 -07:00
Hao Kung 67803d2f41 Challenge now always checks for accept 2015-08-11 16:15:48 -07:00
Kiran Challa 3940873943 Enable pinning build scripts(build.cmd) 2015-08-11 16:08:55 -07:00
Stephen Halter d97b02696f Merge Kestrel into Microsoft.AspNet.Server.Kestrel 2015-08-11 14:56:20 -07:00
Chris R b51cf63637 #49 React to CoreCLR Cryptography package changes. 2015-08-11 14:43:06 -07:00
Pranav K 4342f25ece Reacting to DI changes 2015-08-11 13:04:40 -07:00
Pranav K 4576481a32 Reacting to DI changes 2015-08-11 12:57:06 -07:00
Stephen Halter a2983f355c Merge branch 'benaadams/sample-return-task' into dev 2015-08-11 12:47:11 -07:00