Commit Graph

11497 Commits

Author SHA1 Message Date
Nate McMaster 590d42dc88 Add Microsoft.Win32.Registry to the universe lineup 2017-08-29 09:15:54 -07:00
Nate McMaster 28acde451e Use Directory.Build.props/targets 2017-08-29 09:14:03 -07:00
Nate McMaster 0516de2b28 Add Microsoft.Azure.Management.Fluent to the universe lineup (#550) 2017-08-28 11:19:45 -07:00
Nate McMaster 97b9ff3b33 Use PackageLineup to manage PackageReference versions 2017-08-28 09:46:47 -07:00
Damir Ainullin 5bf7d3b28a Fix typo in FrameTests (#2033) 2017-08-27 20:11:00 -07:00
David Fowler 9d8556e7c4 Added FrameConnection.OnConnectionClosed back (#2028) 2017-08-26 21:20:06 -07:00
David Fowler 7854c0604a Remove the events on ConnectionContext (#2023)
- Use the pipe events and removed the Tasks from ConnectionContext
- Remove OnConnectionClosed from FrameConnection. Since the `FrameConnetion` is a single middleware, not the entire pipeline, we shouldn't need to wait on the connection close there.
- It seems like the callbacks are rooted on the pipe even after they fire. This needs to be investigated in pipelines.
2017-08-26 20:19:55 -07:00
Ben Adams 09be7c416a Use preparsed version, rather than reparsing (#2021)
Current path is:

 Parser -> HttpVersion Enum -> Get Version String -> Set `HttpVersion` with string -> Convert back to Enum

Can just set the enum directly since its already parsed.

Also using the const rather than strings; where the strings are in code
2017-08-26 17:18:16 -07:00
Ben Adams 088f7e32ae Reset StatusCode & ReasonPhrase directly (#2025) 2017-08-26 17:14:45 -07:00
Nate McMaster 4735154ecd Install .NET Core 1.1.2 2017-08-26 11:18:15 -07:00
Nate McMaster 1d4e7dcd08 Avoid conflicts between PinVersion and lineups 2017-08-25 17:21:12 -07:00
Nate McMaster 2ddba022aa Add xunit.extensibility.core 2.3.0-beta4-build3742 to the lineup 2017-08-25 14:58:49 -07:00
Nate McMaster 3ecadccc27 Set the version of MSBuild packages to 15.3.409
Oops, 15.3.309 does not exist.
2017-08-25 14:52:38 -07:00
Nate McMaster ceba681e02 Add Microsoft.NETCore.App and NETStandard.Library to the lineup (#549) 2017-08-25 14:34:45 -07:00
Nate McMaster b0b8d6ded3 Update test apps to netcoreapp2.0 (#339) 2017-08-25 09:17:38 -07:00
Nate McMaster 29fd1b3b33 Update README to show 2.0.0 as the latest packages
[ci skip]
2017-08-25 09:13:43 -07:00
Nate McMaster 9793b6b8d5 Add another package required for Razor 2017-08-24 15:24:03 -07:00
Jass Bagga 3d6a8615de Support DynamicObject types (#99)
Addresses #38
2017-08-24 15:11:01 -07:00
Nate McMaster d15129110e Ensure .NET Core 1.0.5 is installed 2017-08-24 13:07:05 -07:00
Cesar Blum Silveira a145734d43 Fix flakiness in ConnectionClosedWhenResponseDoesNotSatisfyMinimumDataRate (#1955). 2017-08-24 10:17:05 -07:00
Nate McMaster 1811c328c5 Add packages required for Razor to the lineup (#548) 2017-08-23 15:24:25 -07:00
Jass Bagga d4b64af0e6 Use DictionaryKeyResolver for ExpandoObjectAdapter (#100)
Addresses #102
2017-08-23 10:30:11 -07:00
Nate McMaster 413c161345 Upgrade to xunit 2.3.0-beta4 2017-08-22 18:18:47 -07:00
Nate McMaster 7908015a3d Upgrade to xunit 2.3.0-beta4 2017-08-22 16:49:36 -07:00
Nate McMaster 68a6e8d367 Upgrade to xunit 2.3.0-beta4 2017-08-22 15:19:42 -07:00
Nate McMaster 8ed38f5dcf Upgrade to xunit 2.3.0-beta4 2017-08-22 15:01:11 -07:00
David Fowler dc9ed60465 Create the connection logging scope in ConnectionHandler (#2013)
- Instead of doing it on the FrameConnection only. This will
make sure all middleware logs get the connection id as part of their scope.
2017-08-22 14:32:58 -07:00
Ben Adams 11a9b6498d Don't alloc IEnumerable in Reset for ITlsConnectionFeature (#2009)
* Don't alloc IEnumerable for ITlsConnectionFeature
* Delegate to ConnectionFeatures and determine scheme once
2017-08-21 17:01:05 -07:00
David Fowler 2e6687031d Added initial connection middleware pipeline (#2003)
* Added initial connection middleware pipeline
- Implemented IConnectionBuilder on ListenOptions. Kept IConnectionAdapter for now.
- Delay the configure callback for ListenOptions until the server has started.
- Added ConnectionLimitMiddleware and HttpConnectionMiddleware
- Expose ConnectionAborted and ConnectionClosed on ConnectionContext and
IConnectionTransportFeature
- Updated the tests
- Removed IConnectionApplicationFeature
- Moved Application to IConnectionTransportFeature
2017-08-21 12:11:27 -07:00
Gaurav Aroraa 1f709e736d Cosmetic changes
Cosmetic changes.
2017-08-20 06:00:40 +05:30
Nate McMaster a993c2a5ff Use PackageLineup to manage versions (revert revert)
We resolved the issues with PackageLineup and partial graph builds.
This reverts commit 01bf47170f.
2017-08-18 16:31:06 -07:00
Nate McMaster 425c1b83e6 Support partial-graph builds
This merges pre-existing packages from previous builds of Universe with the list of packages to be produced in the current run.

Pre-existing packages are expected to be in .deps/build/ and are expected to have only one version of a package id in that folder.

This also requires any additional lineups to be in .deps/lineups/ so they can be filtered from the Internal.AspNetCore.Universe.Lineup file
2017-08-18 15:54:32 -07:00
Nate McMaster 708ae1797f Revert "Support partial-graph builds (#545)"
This reverts commit 8f263a2085.
2017-08-18 14:50:22 -07:00
Ben Adams 59b77bb357 Async Main samples (#2004) 2017-08-18 14:46:19 -07:00
Nate McMaster 8f263a2085 Support partial-graph builds (#545)
This merges pre-existing packages from previous builds of Universe with the list of packages to be produced in the current run.

Pre-existing packages are expected to be in .deps/build/ and are expected to have only one version of a package id in that folder.
2017-08-18 14:40:17 -07:00
Nate McMaster 7f23ff08ce React to changes in BenchmarkDotNet 0.10.9 (#2006)
* fixup! React to changes in BenchmarkDotNet 0.10.9
2017-08-18 10:57:48 -07:00
Nate McMaster 01bf47170f Revert lineups change until we work out issues with PackageLineup
This reverts commit a2c0410e39.
2017-08-18 10:43:19 -07:00
Nate McMaster a4320ccbda Upgrade to xunit 2.3.0-beta4 2017-08-18 09:55:10 -07:00
Nate McMaster 89548bb39a Expand the list of external dependencies to include almost everything
referenced from an ASP.NET Core project
2017-08-17 17:49:35 -07:00
Stephen Halter fd66472b39 Get Kestrel.Performance working again 2017-08-17 17:00:46 -07:00
Stephen Halter 14f122fb9f Measure Writing in FrameWritingBenchmark 2017-08-17 16:59:24 -07:00
Nate McMaster a7f021702f Add more corefx packages to the universe lineup (#543) 2017-08-17 16:17:59 -07:00
Nate McMaster a2c0410e39 Use PackageLineup to manage package versions 2017-08-17 16:16:40 -07:00
Ben Adams 442ee80039 Less awaits for Reponse Write(Async) 2017-08-17 15:51:22 -07:00
Pranav K 5d6330e6b1 Pinning versions for 2.0.0 2017-08-17 14:59:12 -07:00
Nate McMaster b613f44ccd Add packages to README
[ci skip]
2017-08-17 12:52:03 -07:00
Ben Brandt cc96d9b77d Update readme to link to 2.0 release 2017-08-16 22:20:19 -05:00
Nate McMaster 87db7cceb6 Stop producing Microsoft.AspNetCore.Server.Kestrel.Tls as a package 2017-08-16 14:56:01 -07:00
Nate McMaster 26f1d4baa3 Use PackageLineup
PackageLineup is a way to manage PackageReference versions across large projects. It removes the version information from the repository and instead pulls the information from an external "lineup" file.
2017-08-16 14:10:43 -07:00
Cesar Blum Silveira 0fafd19ec9 Initial HTTP/2 support.
What works:

- HTTP/2 over TLS1.2 with ALPN
- Request and response flow
  - Headers are compressed and decompressed with HPACK
  - Request body can be read by streams (if present)
  - MVC template app with individual auth works fine
- PRIORITY frames are validated
- RST_STREAM frames are validated and abort streams
- SETTINGS frames are validated and ACKed
- PING frames are validated and ACKed
- GOAWAY frames stop connections
- WINDOW_UPDATE frames are validated
- CONTINUATION frames are sent for large header blocks

What doesn't work yet:

- Flow control in either direction
- It's not possible to encode a single header across more than one frame
  - Affects only a very large header (name and value combined ~16KB long)
- Request trailers
- Response trailers
- Limits and timeouts in `KestrelServerLimits` are not enforced on HTTP/2
- HPACK use is very limited on the send side
  - Literals are not Huffman-encoded
  - Common headers (e.g. "server: Kestrel") are never indexed
- Honoring client settings
- Some error checking is still missing (e.g. validating incoming frame size)
2017-08-16 10:04:44 -07:00