v.25.7Improvement

Header Connection is send

Header Connection is send at the end of headers. When we know is the connection should be preserved. #81951 (Sema Checherinda).
Improves HTTP header handling by sending the Connection header at the end of headers once it is determined whether the connection should be kept alive.

Why it matters

This feature optimizes HTTP communication by accurately managing the Connection header placement based on connection persistence. It ensures clients and servers correctly understand if the connection will be reused or closed, leading to better resource management and reduced connection overhead.

How to use it

This behavior is applied automatically in HTTP interactions; no explicit user configuration is required to benefit from the improved Connection header handling.