Commit Graph

17302 Commits

Author SHA1 Message Date
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
Nate McMaster c429467993 Add System.Buffers and System.Numerics.Vectors to the lineup 2017-08-16 10:04:18 -07:00
Nate McMaster c10ac85cf2 Add fixes for problems discovered by xunit.analyzers (#1999)
* Add fixes to tests for problems discovered by xunit.analyzers 0.6.1

* PR feedback. Add comments about why we have a #pragma
2017-08-16 09:37:49 -07:00
Nate McMaster dc66815c35 Add external packages require for aspnet/Common (#541) 2017-08-16 09:15:18 -07:00
David Fowler 5c775073a4 Initial bedrock refactoring (#1995)
- Added Protocols.Abstractions
 - IConnectionHandler.OnConnection takes an IFeatureCollection instead of
 IConnectionInfo
 - Removed IConnectionContext and IConnectionInformation replaced with
 IConnectionTransportFeature
 - Updated FrameConnectionContext and FrameContext to have the relevant
 state instead of flowing the ConnectionInformation.
 - Updated tests
2017-08-16 00:02:48 -07:00
Pranav K f3745608af Switch to v3 NuGet feed 2017-08-15 16:14:19 -07:00
Nate McMaster 221bcda1d9 Upgrade xunit to 2.3.0-beta4 and expand the lineup to include sub-packages in xunit 2017-08-15 10:04:52 -07:00
Pranav K 28a4bb4d5f Clone over https if we cannot determine the repository's clone url 2017-08-11 22:32:23 -07:00
Nate McMaster d3cf0494e7 Upgrade to xunit 2.3.0-beta3 2017-08-11 17:22:40 -07:00
Stephen Halter 02028b65c7 Stop using ConcurrentBag in tests for complex types (#1990)
dotnet/corefx#23068
2017-08-11 16:30:03 -07:00
Pranav K 418f58f31d Clone repositories over https 2017-08-11 16:05:16 -07:00
Nate McMaster 16b430ec9f Update to xunit 2.3.0-beta3-build3705 (#539) 2017-08-11 11:52:18 -07:00
Nate McMaster ddd690200e React to changes in the gatekeeper build 2017-08-11 10:37:41 -07:00
Justin Kotalik 594f55947f Keep ResponseCookie options on delete. (#905) 2017-08-10 18:01:30 -07:00
Nate McMaster f5710de3e5 Produce a lineup package containing all packages produced 2017-08-10 11:41:10 -07:00
Henk Mollema 456957bf57 Use dictionary for deployment parameters (#1126) 2017-08-10 10:56:21 -07:00
Nate McMaster 5ff2176504 Remove unused TeamCity logger 2017-08-10 09:49:35 -07:00
Pavel Krymets 396f413b38 Rename testing metapackage (#218) 2017-08-10 09:38:19 -07:00
Pavel Krymets 653272600f Add site extension generation code (#217) 2017-08-10 08:11:57 -07:00
Nate McMaster d3fb5e76f1 Remove dependency on a custom task to detect when compiling on macOS (#1987)
MSBuild.IsOSPlatform is new to MSBuild 15.3 and can be used to determine when we are building on macOS.
2017-08-09 16:48:02 -07:00
John Luo b5e81bd4a0 Use linux specific runtime identifier when gathering installer prerequisites 2017-08-09 14:27:04 -07:00
John Luo 3e0ece9936 Fix package archive name typo 2017-08-09 13:05:42 -07:00
Justin Kotalik 5ec8a7134e Adds FormFeature quoted boundary test 2017-08-08 21:09:39 -07:00
John Luo e9e7baf3f1 Rename store zip and lzma filename 2017-08-08 11:12:08 -07:00
Christian Weiss 07f96a444e Always log startup exceptions 2017-08-08 09:55:30 -07:00
= 508501a573 Skip installing 1.0.5 and 1.1.2 shared runtime for debian installer builds 2017-08-07 18:13:14 -07:00
John Luo f568fa2bbb Update Microsoft.AspNetCore.Server.IntegrationTesting package version 2017-08-07 17:13:37 -07:00
John Luo f6329c4dc7 Update Microsoft.AspNetCore.Server.IntegrationTesting package version 2017-08-07 17:12:49 -07:00
John Luo aacd495943 Update Microsoft.AspNetCore.Server.IntegrationTesting package version 2017-08-07 17:10:32 -07:00
John Luo cbde649047 Update Microsoft.AspNetCore.Server.IntegrationTesting package version 2017-08-07 17:09:02 -07:00
John Luo 8545d88be0 Update Microsoft.AspNetCore.Server.IntegrationTesting package version 2017-08-07 17:08:01 -07:00
John Luo c77f362da5 Update Microsoft.AspNetCore.Server.IntegrationTesting package version 2017-08-07 17:06:58 -07:00
John Luo 2ab1c09301 Update Microsoft.AspNetCore.Server.IntegrationTesting package version 2017-08-07 16:59:37 -07:00
John Luo a49db63f06 Increment M.H.Server.IntegrationTesting version 2017-08-07 15:28:45 -07:00
Pavel Krymets 659fa967a1 Consume corefxlab packages and private build of C# compiler (#1976) 2017-08-07 13:58:19 -07:00
Nate McMaster 14dcbdb9dd Remove duplicate PackageReference
[ci skip]
2017-08-07 10:05:30 -07:00
Cesar Blum Silveira d68f8165e1 Disable test ConnectionClosedWhenResponseDoesNotSatisfyMinimumDataRate on Linux. 2017-08-04 17:45:07 -07:00
pan-wang 93b37e14db fix websocket connection issue and some memory leak, and add debug print (#129) 2017-08-04 14:51:15 -07:00
John Luo cbad7fad7a Add API baseline for Microsoft.AspNetCore 2017-08-03 17:39:26 -07:00
= 90503c097d Remove KoreBuild dependent build steps
- remove references to .build directory
- dotnet cli is not automatically installed on docker images
- install x86 dotnet cli using environment variable
2017-08-03 10:56:37 -07:00
Steve Sanderson 5ed1a35ce0 Fix problems with AoT when using Angular Material. Fixes #1168 2017-08-03 18:00:46 +01:00
Steve Sanderson 680ba7497a Merge branch 'rel/2.0.0-templates' into dev 2017-08-03 10:52:54 +01:00
Steve Sanderson 287c10fd2e Bump additional SPA templates package version to 1.0.0 2017-08-03 10:52:08 +01:00
Nate McMaster ca7f72e3f0 Move PinVersions into RepoTasks (#535) 2017-08-02 15:04:19 -07:00
John Luo 469195950e Ensure fallback to curl after failed wget 2017-08-02 14:34:42 -07:00
John Luo 3f0b4a09e2 Ensure fallback to curl after failed wget 2017-08-02 14:34:25 -07:00
John Luo adda3f2052 Ensure fallback to curl after failed wget 2017-08-02 14:34:14 -07:00
John Luo 044527e33c Ensure fallback to curl after failed wget 2017-08-02 14:34:04 -07:00
John Luo 8391a751df Ensure fallback to curl after failed wget 2017-08-02 14:33:58 -07:00
John Luo c0f24f4acf Ensure fallback to curl after failed wget 2017-08-02 14:33:01 -07:00