keep-alive는 요청 수·idle 시간·전체 connection 시간에 상한을 둔다

한 client가 Socket을 영원히 점유하지 못하게 여러 독립 경계를 조합합니다.

상한종료 조건효과
max requestsN회 처리공정성
idle timeout다음 byte 지연slow client 제거
connection age절대 수명자원 회수
server shutdowndrain deadline배포
protocol errorframing 손실즉시 close

핵심: 응답 header와 실제 close 시점을 일치시킵니다.