Skip to content

Conversation

@fabianfett
Copy link
Member

Same fix for HTTP/1 that landed for HTTP/2 in #558.

Motivation

HTTP1ClientChannelHandler currently does not tolerate immediate write errors.

Changes

Make HTTP1ClientChannelHandler resilient to failing writes.

Result

Less crashes in AHC HTTP/1.

Same fix for HTTP/1 that landed for HTTP/2 in swift-server#558.

### Motivation

`HTTP1ClientChannelHandler` currently does not tolerate immediate write errors.

### Changes

Make `HTTP1ClientChannelHandler` resilient to failing writes.

### Result

Less crashes in AHC HTTP/1.
@fabianfett fabianfett requested a review from Lukasa April 11, 2022 12:11
@fabianfett fabianfett merged commit 0a2004b into swift-server:main Apr 11, 2022
@fabianfett fabianfett added the 🔨 semver/patch No public API change. label Apr 11, 2022
@fabianfett fabianfett deleted the ff-tolerate-write-error branch April 11, 2022 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants