HTTP keep-alive
HTTP keep-alive is an instruction that allows a single TCP connection to remain open for multiple HTTP requests/responses.
By default, HTTP connections close after each request. Enabling the keep-alive header allows you to serve all web page resources over a single connection.
Configurations
keep-alive must be enabled on your server, followings are configurable
Get Nuwan Zen’s stories in your inbox
Join Medium for free to get updates from this writer.
MaxKeepAliveRequests: maximum number of requests served by a session
KeepAliveTimeout: time a session will last
Reference:
My other writings


![[IronHold] — Spring Boot Source Code Analysis: Finding Credentials, SQL Injection, PrivEsc, and…](https://miro.medium.com/v2/resize:fit:1358/format:webp/1*2yaTo73YRGo1GknAUJNfPg.jpeg)



