aspnetcore/test/Microsoft.AspNetCore.Server...
David Fowler c48113ad80 Refactoring and of FrameConnection and Frame (#1816)
* Refactoring and of FrameConnection and Frame
- Building on top of the last refactoring of FrameConnection, this change aims to clean up
the communication between the Frame and FrameConnection by removing some concepts and
being consistent about the communication between Frame and FrameConnection with or without
connection adapters. Changes include:
- Removing ConnectionLifetimeControl, ISocketOutput, StreamSocketOutput
- Moving more initialization of the frame to FrameConnection after the pipes
are setup
- OutputProducer communicates cancellation via the IPipeWriter instead of the output's IPipeReader.
- Frame always communicates via the pipes and that communications flows through the layers to the transport.
This means that each 1/2 of the adapted pipeline handles closing the right side of the transport at the
right time, propagating exceptions as necessary.
- This is how the flow looks now:
            ->                        ->
[transport]     [connection adapters]     [frame]
            <-                        <-
- Transports need to handle a ConnectionAbortedException on the output as a signal to stop
writing and end the connection. This will no longer try to drain the output but will just stop
writing and end the response immediately.
- Remove frame.Abort when cancellation on Write fails.
- Unify the connection shutdown logic
- Dispose 1/2 initialized connection adapters

#1815
2017-05-08 20:44:13 -07:00
..
Properties
SystemdActivation Update libuv package (#1577) 2017-03-31 10:19:27 -07:00
TestHelpers Skip HostName binding test when network is unreachable 2017-04-25 14:33:06 -07:00
AddressRegistrationTests.cs Fix flaky tests that bind to discovered IP addresses (#1795) 2017-05-01 12:20:53 -07:00
BadHttpRequestTests.cs Move user-facing strings into resource files 2017-04-26 17:22:55 -07:00
ChunkedRequestTests.cs Reject HTTP/1.1 requests that do not have a correct Host header 2017-04-14 15:48:21 -07:00
ChunkedResponseTests.cs Reject HTTP/1.1 requests that do not have a correct Host header 2017-04-14 15:48:21 -07:00
ConnectionAdapterTests.cs Refactoring and of FrameConnection and Frame (#1816) 2017-05-08 20:44:13 -07:00
DefaultHeaderTests.cs Reject HTTP/1.1 requests that do not have a correct Host header 2017-04-14 15:48:21 -07:00
EventSourceTests.cs Reject HTTP/1.1 requests that do not have a correct Host header 2017-04-14 15:48:21 -07:00
FrameConnectionManagerTests.cs Move shutdown logic from transport to core (#1707) 2017-04-19 18:08:36 -07:00
GeneratedCodeTests.cs Merge branch 'rel/2.0.0-preview1' into dev 2017-05-05 14:35:41 -07:00
HttpClientSlimTests.cs
HttpsConnectionAdapterTests.cs Split transport-specific tests and general tests into distinct test projects (#1588). 2017-04-06 19:09:40 -07:00
HttpsTests.cs Simplify connection lifetime control flow (#1776) 2017-05-05 16:11:01 -07:00
IWebHostPortExtensions.cs
KeepAliveTimeoutTests.cs Move shutdown logic from transport to core (#1707) 2017-04-19 18:08:36 -07:00
LoggingConnectionAdapterTests.cs Move shutdown logic from transport to core (#1707) 2017-04-19 18:08:36 -07:00
MaxRequestBufferSizeTests.cs Move shutdown logic from transport to core (#1707) 2017-04-19 18:08:36 -07:00
MaxRequestLineSizeTests.cs Reject HTTP/1.1 requests that do not have a correct Host header 2017-04-14 15:48:21 -07:00
Microsoft.AspNetCore.Server.Kestrel.FunctionalTests.csproj netcoreapp2.0 (#1810) 2017-05-05 14:31:34 -07:00
RequestHeaderLimitsTests.cs Reject HTTP/1.1 requests that do not have a correct Host header 2017-04-14 15:48:21 -07:00
RequestHeadersTimeoutTests.cs Move shutdown logic from transport to core (#1707) 2017-04-19 18:08:36 -07:00
RequestTargetProcessingTests.cs Reject HTTP/1.1 requests that do not have a correct Host header 2017-04-14 15:48:21 -07:00
RequestTests.cs Refactoring and of FrameConnection and Frame (#1816) 2017-05-08 20:44:13 -07:00
ResponseTests.cs Simplify connection lifetime control flow (#1776) 2017-05-05 16:11:01 -07:00
TestServer.cs Refactoring and of FrameConnection and Frame (#1816) 2017-05-08 20:44:13 -07:00
ThreadCountTests.cs Transport agnostic kestrel refactoring (#1551) 2017-03-29 16:06:05 -07:00
UpgradeTests.cs Fix flaky 400 response tests (#1758) 2017-04-24 23:48:47 -07:00
xunit.runner.json Add tests for WritableBuffer extensions and rename WriteAscii => WriteAsciiNoValidation 2017-03-29 16:10:31 -07:00