3 ms·
It introduces an availability risk if the connection reuse times don't exactly match keepalive times on the backend. Plus an increased risk to be vulnerable to
by Matthias247 4y ago
It introduces an availability risk if the connection reuse times don't exactly match keepalive times on the backend. Plus an increased risk to be vulnerable to a HTTP request smuggling issue if anyone discovery a new and unpatched one.
That said I agree that using keepalive seems like a reasonable default - especially since other HTTP clients do the same.