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
..
TestHelpers
AddressBinderTests.cs Add debug logging in address binding when IPv6Any fails 2017-04-24 17:14:43 -07:00
AsciiDecoding.cs
ChunkWriterTests.cs
DateHeaderValueManagerTests.cs Fix flaky heartbeat test (#1794) 2017-04-29 00:42:27 -07:00
FrameConnectionManagerTests.cs Simplify connection lifetime control flow (#1776) 2017-05-05 16:11:01 -07:00
FrameHeadersTests.cs
FrameRequestHeadersTests.cs
FrameRequestStreamTests.cs Improve implementation of IHttpUpgradeFeature 2017-04-20 12:42:58 -07:00
FrameResponseHeadersTests.cs Simplify connection lifetime control flow (#1776) 2017-05-05 16:11:01 -07:00
FrameResponseStreamTests.cs netcoreapp2.0 (#1810) 2017-05-05 14:31:34 -07:00
FrameTests.cs Refactoring and of FrameConnection and Frame (#1816) 2017-05-08 20:44:13 -07:00
HeartbeatTests.cs Fix flaky heartbeat test (#1794) 2017-04-29 00:42:27 -07:00
HttpParserTests.cs Remove Logging dependency from the http parser (#1780) 2017-04-27 08:46:08 -07:00
HttpUtilitiesTest.cs
KestrelEventSourceTests.cs
KestrelServerLimitsTests.cs
KestrelServerOptionsTests.cs
KestrelServerTests.cs Move user-facing strings into resource files 2017-04-26 17:22:55 -07:00
KnownStringsTests.cs arespr/knownmethods-optimizations cleanup 2017-05-04 12:27:22 -07:00
MessageBodyTests.cs Move user-facing strings into resource files 2017-04-26 17:22:55 -07:00
Microsoft.AspNetCore.Server.Kestrel.Core.Tests.csproj netcoreapp2.0 (#1810) 2017-05-05 14:31:34 -07:00
OutputProducerTests.cs Refactoring and of FrameConnection and Frame (#1816) 2017-05-08 20:44:13 -07:00
PathNormalizerTests.cs
PipeOptionsTests.cs Schedule connection adapter reads on configured thread pool (#1741) 2017-04-24 12:19:22 -07:00
PipelineExtensionTests.cs
ServerAddressTests.cs
StreamsTests.cs Improve implementation of IHttpUpgradeFeature 2017-04-20 12:42:58 -07:00
StringUtilitiesTests.cs Implement new request trace identifier format 2017-05-01 09:50:47 -07:00
TestInput.cs
ThrowingWriteOnlyStreamTests.cs Improve implementation of IHttpUpgradeFeature 2017-04-20 12:42:58 -07:00
xunit.runner.json