Files
async-http-client/Sources/AsyncHTTPClient
Johannes Weiss 070c1e5f37 cpool: don't reuse connection if we sent close (#225)
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.
2020-05-21 15:43:38 +01:00
..
2020-05-18 17:47:21 +01:00
2020-05-18 17:47:21 +01:00
2020-05-18 17:47:21 +01:00
2020-05-18 17:47:21 +01:00