IT lexicon › Networking › Keep-alive

Keep-alive

Networking På svenska → Updated: 2026-05-23

Keep a TCP connection open for multiple requests instead of closing and reopening every time.

HTTP/1.1 default. Saves TCP handshakes and TLS handshakes — a lot. The Connection: keep-alive header is historical; HTTP/2 and /3 assume persistent connections. Also in TCP: SO_KEEPALIVE keeps long-lived connections alive through NAT/firewalls.

← Back to the lexicon