swift-nio/Tests/NIOHTTP1Tests
Cory Benfield 2d8e6ca36f
Tolerate sending data after close(mode: .output) (#2421)
Motivation

We shouldn't crash on somewhat likely user error.

Modifications

Pass on writes after close(mode: .output) instead of crashing.

Result

User code is more robust to weird edge cases.
2023-05-09 10:52:48 +01:00
..
ByteBufferUtilsTest.swift Clean up dependencies and imports. (#1935) 2021-08-12 13:49:46 +01:00
HTTPClientUpgradeTests.swift Clean up dependencies and imports. (#1935) 2021-08-12 13:49:46 +01:00
HTTPDecoderLengthTest.swift [HTTPDecoder] Decode informational http response head correctly (#1984) 2021-11-08 19:41:08 +01:00
HTTPDecoderTest.swift Correctly manage Content-Length on HEAD responses (#2277) 2022-10-04 06:59:57 -07:00
HTTPHeaderValidationTests.swift Merge pull request from GHSA-7fj7-39wj-c64f 2022-09-27 13:09:52 +01:00
HTTPHeadersTest.swift Don't count CR or LF as whitespace when trimming canonical header values (#1954) 2021-09-14 08:26:05 +01:00
HTTPRequestEncoderTest.swift Clean up dependencies and imports. (#1935) 2021-08-12 13:49:46 +01:00
HTTPResponseEncoderTest.swift Clean up dependencies and imports. (#1935) 2021-08-12 13:49:46 +01:00
HTTPResponseStatusTests.swift HTTPResponseStatus should print code and reason (#2257) 2022-08-31 05:37:08 -07:00
HTTPServerClientTest.swift Move NIO to NIOPosix, make NIO a shell. (#1936) 2021-08-16 16:50:40 +01:00
HTTPServerPipelineHandlerTest.swift Tolerate sending data after close(mode: .output) (#2421) 2023-05-09 10:52:48 +01:00
HTTPServerProtocolErrorHandlerTest.swift Allow HTTP Server to send multiple informational heads before actual response head (#1985) 2021-11-09 10:20:51 +00:00
HTTPServerUpgradeTests.swift Use #fileID/#filePath instead of #file (#2306) 2022-11-03 16:43:13 +00:00
HTTPTest.swift Workaround `Sendable` warning from Swift 5.7 (#2225) 2022-07-21 18:20:49 +01:00
HTTPTypesTest.swift Initializing HTTPMethod with String picks explicit value over catch all RAW(value) (#1329) 2020-01-02 11:39:54 -05:00
NIOHTTPObjectAggregatorTest.swift Clean up dependencies and imports. (#1935) 2021-08-12 13:49:46 +01:00
TestUtils.swift Move NIO to NIOPosix, make NIO a shell. (#1936) 2021-08-16 16:50:40 +01:00
UnsafeTransfer.swift Remove `#if compiler(>=5.5)` (#2292) 2022-10-13 07:17:46 -07:00