Customers may observe that the Avi Load Balancer (ALB) is not forwarding the Connection: keep-alive HTTP header from the client to the backend servers, even when the client explicitly sends it.
Connection: keep-alive header.Connection: keep-alive header because its own management of backend connections makes that header redundant for HTTP/1.1.Connection: keep-alive header is only explicitly added and forwarded by the Avi L7 Proxy if the client request is HTTP/1.0. For HTTP/1.0, keep-alive is not enabled by default, requiring the explicit header for persistent connections.If explicit Connection: keep-alive header forwarding to the backend is a strict requirement, consider the following:
Connection: keep-alive header. In this scenario, the Avi L7 Proxy will explicitly forward the Connection: keep-alive header to the backend server. This is generally not recommended for modern applications due to performance implications of HTTP/1.0.System-Secure-HTTP) for the Virtual Service. An L4 profile will forward TCP connections directly, preserving all headers as-is, but will lose advanced L7 features such as content switching, HTTP policies, and URL-based load balancing.