Commit Graph

24993 Commits

Author SHA1 Message Date
Justin Kotalik c74d0e7458 Adds .Value to logger calls to avoid calling .ToUriComponents on a bad header. (#1169)
* Add .Value to request properties in HostingRequestStartLog
2017-08-18 09:43:04 -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 128683be0e Pinning versions for 2.0.0 2017-08-17 15:00:10 -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
John Luo dc8d1d0788 Do not block on async calls 2017-08-17 12:23:59 -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
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
Poul Kjeldager Sørensen 488eb44467 Fix obsolete warning message (#1363)
Fixes the messaged shown to developers when they are updating their applications to 2.0. Bad idea to set the domain with some random naming text.
2017-08-14 11:07:19 -07:00
Scott Addie b43ffc4acc Recommend CookieBuilder.HttpOnly instead of CookieBuilder.SameSite (#1366) 2017-08-14 11:06:32 -07:00
Saravanan 43db99a568 Updated for the TwitterOptions Validation for the ConsumerKey and Con… (#1337) 2017-08-14 10:29:02 -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
Chris Ross 0c82d94a54 #772 Signout FormPost test (#1358) 2017-08-11 11:50:25 -07:00
Nate McMaster ddd690200e React to changes in the gatekeeper build 2017-08-11 10:37:41 -07:00
Justin Kotalik 4eb1306692 Reacting to ResponseCookie Delete changes (#1362)
594f55947f
2017-08-11 10:24:18 -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
Chris R c125022050 #772 Fill in OIDC test gaps 2017-08-09 15:29:34 -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