Commit Graph

11237 Commits

Author SHA1 Message Date
Ivan Derevyanko ac77c11211 Make ConnectionCallback static again. 2015-09-09 02:13:49 +02:00
Ivan Derevyanko 2b2943d5b0 Restore static delegates 2015-09-09 01:27:44 +02:00
Stephen Halter 2041e4d08b Prevent pipes from being closed prematurely on OS X and Linux
This change fixes the in-process marshalling of TCP handles on Mac and Linux
that is used to support having multiple threads accepting connections from
multiple loops.

On these two platforms, the ReadStart callback somtimes gets called with a
status and pipe_pending_count equal to zero. Now when the status is zero
just exit the callback without closing the pipe.

This change more closely follows the example at
https://nikhilm.github.io/uvbook/processes.html#sending-file-descriptors-over-pipes
2015-09-08 16:21:45 -07:00
Ivan Derevyanko a93a66fe7c Replace Trace.WriteLine with ITraceLogger 2015-09-09 00:26:26 +02:00
Ivan Derevyanko ed4850a2b1 Style fix 2015-09-05 18:32:16 +02:00
Ivan Derevyanko 6d47227975 KestrelTrace refactored and added to the ServiceContext. Close aspnet/KestrelHttpServer#141 2015-09-05 18:17:17 +02:00
David Fowler 8a6495364e Merge pull request #192 from Tragetaschen/patch-1
Fix bug #191 introduced by b25d2d9
2015-09-05 07:51:06 -07:00
Kai Ruhnau 5ee80e0155 Fix bug #191 introduced by b25d2d9 2015-09-05 12:29:00 +02:00
Stephen Halter f10c989d90 Add ServiceContext to make it easier to flow new services through ctors 2015-09-04 15:04:25 -07:00
Chris R c6db2c06f5 Add BasicMiddleware and Proxy repos to the build list 2015-09-04 11:51:41 -07:00
Brennan b7a5805efb Revert "Fix tests"
This reverts commit b1ff28be73.
2015-09-03 16:42:20 -07:00
Chris R 0ab178cead Ignore WebSocketClient tests on Mono. 2015-09-03 16:20:52 -07:00
Stephen Halter 1584d70e1f Clean up if an exception is thrown in the middle of ServerFactory.Start 2015-09-03 15:26:30 -07:00
Chris R e47a2faa83 React to security changes. 2015-09-03 15:24:47 -07:00
BrennanConroy b1ff28be73 Fix tests 2015-09-03 08:57:55 -07:00
N. Taylor Mullen a24c709344 Update dnvm.sh to use aspnetlitedev feed. 2015-09-02 22:15:17 -07:00
Louis DeJardin c50aec1729 Adding comments to meaningless field names 2015-09-02 21:14:18 -07:00
Louis DeJardin dffd977c3f Fixing field names 2015-09-02 20:50:21 -07:00
N. Taylor Mullen 7e2b09c249 Update dnvm.ps1 to use aspnetlitedev feed. 2015-09-02 20:38:51 -07:00
Louis DeJardin 5c7007a4e9 Fixing member field name 2015-09-02 20:37:11 -07:00
Louis DeJardin 0859d82d6b Adding private keyword to private enums 2015-09-02 20:33:51 -07:00
Louis DeJardin 3bbb77f9d0 Alphabetizing using statements 2015-09-02 20:31:11 -07:00
Louis DeJardin b25d2d9772 Continued updates for #184
* Reordering members
- Fields
- Constructors
- Properties
- EverythingElse
- NestedTypes

* Removing commented code
2015-09-02 20:08:54 -07:00
Hao Kung 2597c0d3d7 React to identity 2015-09-02 16:50:22 -07:00
Hao Kung 16a9872a55 React to identity 2015-09-02 16:40:27 -07:00
Hao Kung d147f259a8 React to identity/security/options changes 2015-09-02 16:09:46 -07:00
N. Taylor Mullen b1ca5d41d8 Update project.json to have warningsAsErrors accept a bool. 2015-09-02 15:35:36 -07:00
Louis DeJardin bf6a163f46 Generalizing type member order rule 2015-09-02 13:34:43 -07:00
Chris R 2255f3f7ad React to IApplicationBuilder.Server change. 2015-09-02 08:28:36 -07:00
Louis DeJardin 2467cf2ade Nested types must be last 2015-09-02 00:07:58 -07:00
Ryan Nowak 6d26d5efd7 React to breaking changes in MVC 2015-09-01 23:25:46 -07:00
Louis DeJardin 46604d68b3 Initial commit for style cleanup #184
* adding private keyword to fields
* one type per file
2015-09-01 22:25:51 -07:00
Pranav K 1b6d027fc1 Using Json parsing code from DNX
Fixes #141
2015-09-01 15:44:44 -07:00
Chris R c2192d7bd1 Change IServerInformation to IFeatureCollection. 2015-09-01 15:27:57 -07:00
Kiran Challa edd17c020e Enable MusicStore tests to be run 2015-09-01 15:00:32 -07:00
Pranav K e717011d9c Fixup feeds used for branching. 2015-09-01 14:07:02 -07:00
Kiran Challa aa3795de86 Reacting to HttpAbstractions' StringValues change 2015-09-01 11:19:48 -07:00
Kiran Challa 0972116697 Removed SignalR related code from the sample and tests. 2015-09-01 10:54:32 -07:00
David Fowler e8b6908b04 Update README.md 2015-09-01 02:20:22 -07:00
Chris R 370475b807 Use new HttpContext.Features API. 2015-08-31 10:57:21 -07:00
Stephen Halter e1b472ddc4 Add ServerAddress tests 2015-08-31 10:46:50 -07:00
Stephen Halter d0bd2b3dd0 Configure unix pipes via the hostname instead of the scheme. 2015-08-31 10:46:48 -07:00
Stephen Halter a919ea8d0a Remove unnecessary listener interfaces 2015-08-31 10:46:46 -07:00
Stephen Halter a9b8cfa582 Remove unnecessary use of generics in listeners 2015-08-31 10:46:40 -07:00
Pranav K 1c986b3bb5 Reacting to HttpAbstractions changes 2015-08-31 10:31:58 -07:00
Chris R 6bc7df851f Use new HttpContext.Features API. 2015-08-31 09:45:21 -07:00
Chris R 821f470bb5 React to string[] -> StringValues changes. 2015-08-28 14:40:15 -07:00
Chris R 803ec38073 React to string[] -> StringValues changes. 2015-08-28 12:59:00 -07:00
Stephen Halter 40ca61b640 Merge branch 'release' into dev 2015-08-26 16:32:19 -07:00
Stephen Halter 2642c84bf9 Don't automatically set Content-Length: 0 in some circumstances
- When in response to a HEAD Request
- For 101, 204, 205 and 304 responses
- For non keep-alive connections
2015-08-26 16:16:35 -07:00