Commit Graph

1680 Commits

Author SHA1 Message Date
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
Tim Seaward 41abe63c10 Open ssl pfx (#2150) 2017-11-07 14:49:02 -08:00
Stephen Halter 238da2742d
Use SocketAsyncEventArgs to improve perf (#2147) 2017-11-07 14:43:14 -08:00
Nate McMaster 6c82f78c65 Pin tool and package versions to make builds more repeatable
Part of aspnet/Universe#575
2017-11-01 15:18:49 -07:00
Stephen Halter 0c34523e8b
Log exception after critical accept loop error (#2140) 2017-10-31 11:09:11 -07:00
Tom Deseyn eeb49c2af7 Pass setsockopt fd as int (#2136) 2017-10-26 11:40:52 -07:00
Andrew Stanton-Nurse ab78fb0b8c fix build break 2017-10-25 15:22:36 -07:00
Cesar Blum Silveira 8c4bdbcf6b Add "zero config" HTTPS support using local development certificate. (#2093) 2017-10-25 13:59:09 -07:00
Stephen Halter c3ba875d12 Better handle Socket transport accept errors (#2133)
* More reliably swallow accept errors during shutdown
* Handle and log connection reset errors thrown from accept
* Don't trace errors for server-aborted connections
2017-10-25 12:58:00 -07:00
Andrew Stanton-Nurse 1678c54291 Add some tracing and increase timeout for flaky test (#2130) 2017-10-25 11:56:43 -07:00
Andrew Stanton-Nurse 7d205d1093 add event names to Logging messages (#2132) 2017-10-25 11:27:05 -07:00
Vladimir Sadov 204cf7a1dc This brings support for the final syntax of "ref readonly" and some bug fixes. (#2121)
Noticeable changes:
- use `in` at declaration of "in" parameters, not `ref readonly`
- `ref` comes before `partial` when declaring partial ref structs.
- unboxing conversions for ref-like types are statically rejected as impossible to succeed

The corresponding VSIX to match these compiler bits with IDE experience is -
https://dotnet.myget.org/F/roslyn/vsix/0b48e25b-9903-4d8b-ad39-d4cca196e3c7-2.6.0.6221102.vsix
2017-10-23 16:18:15 -07:00
Andrew Stanton-Nurse 30010a103b Fix for #2085 - "The Detaskening" (#2123) 2017-10-23 10:52:02 -07:00
Pavel Krymets fff3e1ebd0 Validate benchmarks (#2126) 2017-10-23 09:51:00 -07:00
Cesar Blum Silveira 3fbfba63f8 HTTP/2: implement 100-continue (#2106) 2017-10-18 16:31:50 -07:00
Stephen Halter c57aa3b2a8 Treat more exceptions from Socket.ReceiveAsync as aborted connections (#2122) 2017-10-18 12:40:37 -07:00
Ryan Brandenburg 34c3233db9 Add RepositoryRoot 2017-10-18 09:40:24 -07:00
Cesar Blum Silveira d4f263acce Fix typos in project names. 2017-10-16 14:13:05 -07:00
Stephen Halter 733ac1efab Handle EPIPE like ECONNRESET on Linux (#2112) 2017-10-13 15:07:21 -07:00
Cesar Blum Silveira 9dfffd14bb HTTP/2: support trailers. 2017-10-12 17:26:20 -07:00
Stephen Halter 66a3c9496a Set SO_REUSEADDR on managed listen sockets on Unix (#2111)
- https://github.com/dotnet/corefx/issues/24562
2017-10-12 12:26:52 -07:00
Cesar Blum Silveira deed6c9780 HTTP/2: add exception error messages and log them. 2017-10-12 11:23:57 -07:00
Stephen Halter fdb4184dbf Sockets transport (#2100)
* Make Sockets the default transport
* Create separate Libuv and Sockets functional test projects
* Fix functional tests that fail with Sockets
* Moved OneToTenThreads test to Kestrel.Transport.Libuv.Tests
* Fix systemd activation tests to use libuv transport
* Dispose Sockets PipeFactory
* Improve Socket's server-side abort handling
* Add explicit rebinding test
2017-10-11 15:14:35 -07:00