Commit Graph

1702 Commits

Author SHA1 Message Date
Stephen Halter f4d27e67bb
Improve server shutdown logic (#2247)
Ensure connections abort when they don't close gracefully.
2018-01-16 16:43:45 -08:00
Javier Calvarro Nelson e6bb551018 Adds support for loading the developer certificate from a pfx file
* If we can't find a developer certificate on the certificate store
  we will look for a developer certificate on the file system if a
  password has been specified for the Development certificate.
* We will look at ${APPDATA}/ASP.NET/https/<<AppName>>.pfx for windows
  and fallback to ${HOME}/.aspnet/https/<<AppName>>.pfx
* In case the password wasn't specified through configuration, the file
  is not found on the file system or can't be loaded, we won't
  do anything.
2018-01-12 16:32:06 -08:00
Nate McMaster 1bce01cb9c Respect NoBuild from /t:StressTest 2018-01-12 14:47:52 -08:00
Chris Ross (ASP.NET) 420500e2a9 #2102 Always start the response before draining the request. 2018-01-09 15:59:19 -08:00
Steffen Forkmann 9a8dd6ef12 Allow Content-Length 0 for Websocket-Connection (#2217) 2018-01-09 15:01:09 -08:00
ASP.NET CI 7fde08d6fb Update dependencies.props
[auto-updated: dependencies]
2018-01-06 14:58:00 -08:00
Chris Ross (ASP.NET) ad2149f5f0 Change ApplicationProtocol to ReadOnlyMemory<byte> #2182 2018-01-05 09:25:30 -08:00
Stephen Halter 664055fa43 Revert "Change ApplicationProtocol to ReadOnlyMemory<byte> #2182"
This reverts commit 2d3a01d48d.
2018-01-04 16:17:36 -08:00
Stephen Halter bd3195ff43 Fix dependencies.props 2018-01-04 15:58:44 -08:00
Chris Ross (ASP.NET) 2d3a01d48d Change ApplicationProtocol to ReadOnlyMemory<byte> #2182 2018-01-04 15:26:40 -08:00
Pavel Krymets 1fa001e7db
React to pipeline changes (#2234)
React to pipeline changes
2018-01-04 09:54:42 -08:00
ASP.NET CI b57ac72431 Update dependencies.props
[auto-updated: dependencies]
2018-01-04 01:24:48 +00:00
ASP.NET CI bf138224d8 Update dependencies.props
[auto-updated: dependencies]
2017-12-31 21:18:22 +00:00
Chris Ross c8e93a6108
Use localhost dev cert in sample (#2235) 2017-12-27 10:06:42 -08:00
Pavel Krymets 9b3470dacb Upgrade dependencies to fix benchmark build 2017-12-26 11:15:43 -08:00
Pavel Krymets e7cc0d33af
Use common BDN config (#2233) 2017-12-22 09:51:26 -08:00
Chris Ross (ASP.NET) dfaf37cbba Implement config support #1290 #1879 #2016 #2166 #2167 #2188 2017-12-21 09:12:32 -08:00
Pavel Krymets 3a0a133a02
Remove use of Dangerous* Span APIs and use MemoryMarshal instead (#2228) 2017-12-19 11:33:39 -08:00
Chris Ross (ASP.NET) 9cb1acdea0 Update dependencies 2017-12-18 14:45:58 -08:00
Chris Ross (ASP.NET) d505d20ba7 Merge Kestrel.Https into Kestrel.Core. Fix sample. 2017-12-18 14:08:14 -08:00
Stephen Halter 9f02935074
Call Listen after Bind in tests (#2221) 2017-12-15 12:45:32 -08:00
ASP.NET CI 9ece7ee935 Update dependencies.props
[auto-updated: dependencies]
2017-12-13 21:01:22 +00:00
BrennanConroy 2b54b2fc91
Upgrade deps (#2215) 2017-12-11 13:32:08 -08:00
BrennanConroy 95dc8824c3
Upgrade package references and react to corefx API changes (#2212) 2017-12-11 09:02:37 -08:00
ASP.NET CI edebfc1bb9 Update dependencies.props
[auto-updated: dependencies]
2017-12-10 13:01:47 -08:00
Stephen Halter 668f8e3b4b
Lazily allocate protocol-specific connection objects (#2190)
* Refactor Http[12]?Connection
2017-12-04 15:59:12 -08:00
David Fowler b8a1c04ffb
Make the HttpParser a singleton (#2203)
- It's completely stateless so make it a singleton
- Fixed tests
2017-12-03 13:27:36 -08:00
Ryan Brandenburg a08707f133 Update bootstrappers 2017-12-01 14:38:10 -08:00
Ryan Brandenburg 7c2c5f2bef EnableApiCheck for Kestrel.Https (#2198) 2017-11-30 18:36:35 -08:00
David Fowler 01e2c88131
Remove the custom C# compiler now that we're using the 2.2 SDK (#2193)
- It should speed builds up considerably
2017-11-30 11:20:22 -08:00
Pranav K 906dc80fd6 Specify runtime versions to install 2017-11-29 14:22:30 -08:00
Tornhoof 5e9e3a8574 Make sure to add whitespace after the status code even if the reasonphrase is empty (#2184) 2017-11-29 12:30:27 -08:00
Nate McMaster 98de3aa50d
Suppress API check due to reflection load errors (#2185)
[ci skip]
2017-11-28 11:04:08 -08:00
David Fowler ce68427050
Use ALPN support in SSLStream on .NET Core >= 2.1 (#2179)
- Always add the TlsConnectionFeature when the HttpsConnectionAdapter runs
- Implemented the ITlsApplicationProtocolsFeature on the existing TlsConnectionFeature
- Removed Kestrel.Tls
2017-11-27 09:11:39 -08:00
Pranav K 76de77746d Eclipse CoreFx package versions to prevent package downgrade warnings 2017-11-22 19:02:22 -08:00
Chris Ross 8e1da5d1f6
Expose WebHostBuilderContext in UseKestrel #1334 (#2177) 2017-11-22 10:19:17 -08:00
Pranav K afa4844230 Replace aspnetcore-ci-dev feed with aspnetcore-dev 2017-11-21 15:48:11 -08:00
Nate McMaster 2d69698cfa
Use MSBuild to set NuGet feeds instead of NuGet.config (#2176) 2017-11-20 16:05:56 -08:00
David Fowler a1d75df47d Use new Memory<byte> APIs on SocketAsyncEventArgs (#2173)
- This should improve the performance of handling buffers by (eventually)
removing GCHandle churn for Kestrel's already pinned buffers.
- Made the Sockets transport target both netcoreapp2.1 and netstandard2.0 to use new
APIs
- Disable API check for the sockets transport
2017-11-20 11:36:09 -08:00
Pranav K 6a793c252f Use MicrosoftNETCoreApp21PackageVersion to determine the runtime framework in netcoreapp2.1 2017-11-17 13:03:26 -08:00
Stephen Halter 67fc879c54
Null out send buffer less (#2164) 2017-11-17 12:41:35 -08:00
Chris Ross (ASP.NET) 89d1862f21 #2139 Add ListenLocalhost and ListenAnyIP 2017-11-16 16:14:17 -08:00
Pranav K 186e9806cd Update samples and tests to target netcoreapp2.1 2017-11-16 14:43:15 -08:00
JanEggers 5b6db93383 fixed minor copy and paste error in mockconnection handler (#2163) 2017-11-15 11:30:35 -08:00
Andrew Stanton-Nurse 065e9bb57a
Update "temporary" OpenSSL wrapper to support 1.1, and add HTTP/2 sample with docker (#2149) 2017-11-13 15:54:16 -08:00
Pavel Krymets 73a37363e1
Migrate to new pipe APIs (#2124) 2017-11-13 15:04:54 -08:00
Stephen Halter 53b4697269
Show cause of connection failure in test (#2155) 2017-11-09 16:56:08 -08:00
Nate McMaster 7d712f58aa Put Libuv.FunctionalTests into a separate test group 2017-11-08 14:01:23 -08:00
David Fowler 64322ae2c5 Don't let VS add IIS Express settings to the samples 2017-11-07 23:31:37 -08:00
Andrew Stanton-Nurse 89fa8f0fa2 Revert "Open ssl pfx (#2150)"
This reverts commit 41abe63c10.
2017-11-07 15:48:49 -08:00