mirror of
https://github.com/swift-server/async-http-client.git
synced 2026-06-02 07:37:34 +00:00
070c1e5f37
Motivation: Previously, we'd only use the server's connection header to determine if we should close the connection or not. That's wrong because if we set `connection: close` ourselves, we must not reuse again. Modification: Set `TaskHandler.closing = false` if we send a close header. Result: More HTTP correctness.