- 4.5. Persistent Connections - HTTP: The Definitive Guide [Book]
- Connection: options - HTTP Pocket Reference [Book]
- 1.13. Persistent Connections - HTTP Pocket Reference [Book]
- HTTP Persistent Connections - NovaOrdis Knowledge Base
そもそも、"Connection: Keep-Alive"とはHTTP/1.0の名残であって、HTTP Persistent Connectionsの方が適切な用語に思われる。
ともあれ、HTTP/1.1においては"Connection: close"がクライアントもしくはサーバーから送られるまではTCPコネクションは持続する。
HAProxyのようなProxyの場合は、クライアント/Frontendが"Connection: close"を送信してきたとしても、サーバー/Backendに"Connection: close"を送信する必要はない。
How to Enable Client Keep-Alive Mode of NetScaler Appliance
NetScalerのClient Keep-Alive Modeでは、Connectionヘッダ名を並び替えて無効化し、一番最後に"Connection: Keep-Alive"を追加するという実装が興味深い。IPのチェックサムに関連しているようなのだが理解できなかった。