How do I activate KeepAlive

i want to activate KeepAlive

dvbbgsss

how i do that on Cloudflare

You probably dont see the Connection header because you have HTTP/2 enabled (which is good!).

With HTTP/2 you get this behaviour out of the box, so Keep-Alive is no longer needed. As a matter of fact, a response with Connection: keep-alive over HTTP/2 is considered to be malformed according to the spec.

3 Likes

thank you

Connection: keep-alive is also redundant in HTTP/1.1. It would be used to enable keep-alive in HTTP/1.0, but in HTTP/1.1 you’d only need Connection: close to disable the implicit keep-alive support That doesn’t mean you wont see Connection: keep-alive on H/1.1 in the wild, but it’s not needed.

1 Like

This topic was automatically closed after 31 days. New replies are no longer allowed.