Start/notes.ini Parameters/HTTPSrvCloseConn

HTTPSrvCloseConn

🛠️
Parameter: HTTPSrvCloseConn
Short description: Forces Connection: close for all HTTP responses – helpful with reverse-proxy issues, but disables HTTP keep-alive.

Profile

Parameter
HTTPSrvCloseConn
Category
HTTP / Web
Component
Server
Available since
9.0.1
Supported versions
9.0.1, 10.0, 11.0, 12.0, 14.0, 14.5, 14.5.1
GUI equivalent
notes.ini only (no GUI)
Possible values
0 = keep-alive allowed (default), 1 = every response closes the connection

Description

In some constellations – typically with older reverse proxies or load balancers that reuse TCP connections – active keep-alive can lead to hanging sessions, truncated responses, or mixed-up responses. HTTPSrvCloseConn=1 forces the Domino HTTP task to terminate each response with Connection: close. The client (or proxy) then cleanly opens a new connection. Trade-off: more connection setup overhead and noticeably lower performance.

Example configuration

HTTPSrvCloseConn=1

Notes & pitfalls

  • Use only as a workaround, not as standard tuning – performance drops noticeably without keep-alive.
  • First check whether the upstream proxy can solve the issue itself (proxy_http_keepalive, keepalive_requests, etc.).
  • Takes effect after an HTTP restart (tell http restart).
  • On TLS-terminating proxies, Connection: close causes more TLS handshakes; monitor CPU load.