- If we're done before the client sends a FIN, force a FIN into the raw SocketInput so the task in FileteredStreamAdapter finishes gracefully and we dispose everything in proper order. - If there's an error while writing to a stream (like ObjectDisposedException), log it once and prevent further write attempts. This means the client closed the connection while we were still writing output. - This also fixes a bug related to the point above, where memory blocks were being leaked instead of returned to the pool (because we weren't catching the exception from Write()). |
||
|---|---|---|
| .. | ||
| TestHelpers | ||
| TestResources | ||
| AsciiDecoder.cs | ||
| ChunkWriterTests.cs | ||
| ChunkedRequestTests.cs | ||
| ChunkedResponseTests.cs | ||
| ConnectionFilterTests.cs | ||
| ConnectionTests.cs | ||
| CreateIPEndpointTests.cs | ||
| DateHeaderValueManagerTests.cs | ||
| DummyApplication.cs | ||
| EngineTests.cs | ||
| FrameFacts.cs | ||
| FrameRequestHeadersTests.cs | ||
| FrameResponseHeadersTests.cs | ||
| FrameTests.cs | ||
| HttpsConnectionFilterTests.cs | ||
| KestrelServerOptionsTests.cs | ||
| KestrelServerTests.cs | ||
| LifetimeNotImplemented.cs | ||
| LoggingThreadPoolTests.cs | ||
| MemoryPoolBlockTests.cs | ||
| MemoryPoolExtensions.cs | ||
| MemoryPoolIteratorTests.cs | ||
| MessageBodyTests.cs | ||
| Microsoft.AspNetCore.Server.KestrelTests.xproj | ||
| MultipleLoopTests.cs | ||
| NetworkingTests.cs | ||
| PathNormalizerTests.cs | ||
| ServerAddressFacts.cs | ||
| SocketInputTests.cs | ||
| SocketOutputTests.cs | ||
| StreamSocketOutputTests.cs | ||
| TestConnection.cs | ||
| TestDateHeaderValueManager.cs | ||
| TestInput.cs | ||
| TestServer.cs | ||
| TestServiceContext.cs | ||
| UrlPathDecoder.cs | ||
| WebHostBuilderKestrelExtensionsTests.cs | ||
| project.json | ||