Commit Graph

18017 Commits

Author SHA1 Message Date
BrennanConroy ce365799a6 Remove Microsoft.Extensions.Logging.Filter 2017-04-17 11:01:42 -07:00
David Fowler 85d883456b Remove Reset from IHttpParser (#1700)
* Remove Reset from IHttpParser
- The parser isn't stateful and doesn't need it
2017-04-17 00:37:40 -07:00
Smit Patel 775847a1fa Disable SqlServer specific tests on netcoreapp2.0 on win7/2008 2017-04-16 11:58:33 -07:00
David Fowler 31cc1e5018 Fix extra space 2017-04-16 09:25:28 -07:00
David Fowler 6a403d231e Clean up IThreadPool interface (#1696)
- Remove tcs completion methods
2017-04-15 19:04:44 -07:00
John Luo 04c86c65b6 Nuget pack requires a version attribute
Even when you override with -Version on the command line.
2017-04-15 00:59:33 -07:00
David Fowler 0ac478858d Fixed benchmarks after refactoring
- Added MockTimeoutControl
2017-04-14 20:15:16 -07:00
David Fowler 051c251e53 Fixed flaky test
- Increase the interval to avoid chances of overlapping
2017-04-14 19:25:32 -07:00
Hao Kung 4b4b375909 Add GetToken overload using default scheme 2017-04-14 17:37:05 -07:00
Hao Kung ef9ff35370 Remove unneeded AuthenticateContext 2017-04-14 17:19:25 -07:00
John Luo b19a46f3c2 Write complete version number 2017-04-14 17:06:33 -07:00
Stephen Halter 8cd58b042c Fix tests using Heartbeat 2017-04-14 16:26:27 -07:00
Stephen Halter 7aa7b3e0a9 Track connections until request processing completes
- Paves the way to allow request processing to continue during server shutdown
  even after a client disconnects.
2017-04-14 16:26:27 -07:00
Nate McMaster c08c57f764 Reject HTTP/1.1 requests that do not have a correct Host header
Improves Kestrel to reject requests that don't conform to HTTP spec.

RFC 7230 section 5.4: "A server MUST respond with a 400 (Bad Request)
status code to any HTTP/1.1 request message that lacks a Host header
 field and to any request message that contains more than one Host
 header field or a Host header field with an invalid field-value."

See https://tools.ietf.org/html/rfc7230#section-5.4.

Other changes:

 - update VS code settings to work better with CLI 2.0
 - update tests that were subject to infinite hangs
2017-04-14 15:48:21 -07:00
Chris R 52be2b750e #21 Initial site extension and packaging 2017-04-14 14:52:57 -07:00
Hao Kung f9e19ed522 DefaultAuthentication => DefaultAuthenticate 2017-04-14 14:42:10 -07:00
John Luo 6e22dbcdc6 Missed rename in commit 2017-04-14 12:14:29 -07:00
John Luo da403d4d16 Long path woes 2017-04-14 10:50:24 -07:00
Andrew Stanton-Nurse a9a8f45158 change autobahn tests to use dynamic port (#167) 2017-04-14 10:48:44 -07:00
David Fowler 9e37272f06 Clean up the logic in DoReceive 2017-04-14 01:39:56 -07:00
David Fowler aedd061865 Tweaks to socket transport (#1687)
- Style changes: Sort usings, use more var and C#7
- Added ConfigureAwait to stop dead locks with xunit
- Remove duplicate handling of aborts in the receiver
- Handle the case where output ends before input
2017-04-14 01:14:21 -07:00
John Luo 9e92b1189b Fix typo 2017-04-14 00:33:00 -07:00
Kiran Challa 229d817d83 Unskipped standalone Windows OS functional tests 2017-04-14 00:06:37 -07:00
Kiran Challa b52430674f Unskipped standalone functional tests 2017-04-13 23:21:29 -07:00
Geoff Kizer efa0a48fb1 Add initial Socket transport for Kestrel (#1659)
- This change adds the initial socket transport for Kestrel, all of the tests pass but there are still
a couple of things that aren't done yet.
- The functional tests support running both on both transports but tests aren't running for sockets right now. We need to parameterize these. 
- TimeoutServerTests hard code the libuv transport, this needs to support any transport.
- There is no handling of connection stopping on application shutdown. This is being implemented in kestrel core so transports don't need to handle it. Sockets won't be the default transport until that is the case.
- Performance needs to be looked at, today the SocketTransport doesn't dispatch by default and we're not buffering in kestrel.core, this can hurt as the number of kernel calls map 1:1 with application writes.
2017-04-13 23:10:06 -07:00
John Luo 0723d46ec4 Honor PreferHostingUrls #1575 2017-04-13 18:12:53 -07:00
John Luo 4d6bdba554 Add nuspec and version.txt to artifacts 2017-04-13 17:32:23 -07:00
John Luo 404960ce1a Use name suggested in Coherence-Signed#439 2017-04-13 16:10:30 -07:00
Pavel Krymets 3045cff3c5 Fix adapted output pipe options (#1682) 2017-04-13 15:54:48 -07:00
John Luo fa96eaf655 Add build version number to package cache zip names 2017-04-13 15:39:23 -07:00
Kiran Challa fb28efe4f8 Removed code supplying runtime identifier to deployers 2017-04-13 15:07:18 -07:00
Kiran Challa 0e0019b4fe Removed code supplying runtime identifier to deployers 2017-04-13 14:55:29 -07:00
Kiran Challa 0822dd74ac Updated NuGetPackageVerifier.json to add exclusion for Microsoft.AspNetCore.Server.IntegrationTesting 2017-04-13 14:51:10 -07:00
Andrew Stanton-Nurse bad5d7c8f7 fix build 2017-04-13 14:25:23 -07:00
Kiran Challa f1a59d030e Supply runtime identifier on publishing standalone apps 2017-04-13 14:19:18 -07:00
Kiran Challa 1d3747c071 Skipped standalone tests temporarily 2017-04-13 13:12:18 -07:00
Meirion Hughes 37df30929c Update Aurelia SPA template 2017-04-13 20:54:56 +01:00
Stephen Halter 6036f27f52 Fix deadlocks in startup and shutdown 2017-04-13 12:47:34 -07:00
Kiran Challa 676f4ba3e4 Converted test projects to run on netcoreapp2.0 2017-04-13 11:15:40 -07:00
Jonathan Channon f2f643ad15 Updated XML documentation for HttpResponse.Body (#816) 2017-04-13 09:57:35 -07:00
Andrew Stanton-Nurse e25a2eced8 port dotnet/corefx#17444 to WebSockets (#162) 2017-04-13 09:55:45 -07:00
Nate McMaster ed4a27a827 Remove ListenOptions.Scheme and move IConnectionFilter to .Internal namespace
Add an internal API to ListenOptions to determine if an endpoint is configured to use HTTPS. This is a temporary as the design of connection adapters and configuration will churn before release.
2017-04-13 09:45:26 -07:00
David Fowler 8258d300e2 Small tweaks to timer logic (#1668)
- Avoid null refs in tests by ignoring null IKestrelTrace
- Use a static callback for the timer callback

Fixes #1667
2017-04-13 09:29:43 -07:00
Chris R a8c61b5abc Add ConfigureAwait to prevent xunit hangs 2017-04-13 07:46:51 -07:00
Chris R 8b6d933711 Add ConfigureAwaits to prevent test deadlocks 2017-04-13 07:26:51 -07:00
Chris R 4e8872b94d Implement IServer.StopAsync 2017-04-12 22:30:46 -07:00
Chris R e043fa871e Make IServer Start and Stop async 2017-04-12 22:23:05 -07:00
Chris R 62f74d5be0 #947 Add IServer.StopAsyc, IWebHost.StopAsync, and make Start async 2017-04-12 21:56:19 -07:00
Kiran Challa e08e63a033 Updated to use 1.0.2 version of PackagePublisher 2017-04-12 21:30:59 -07:00
Stephen Halter 11ab602b2f Make timeout logic transport agnostic (#1649)
* Make timeout logic transport agnostic

* PR feedback

* More PR feedback
2017-04-12 16:15:46 -07:00