Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

propertyTsmCustomHTTPSClient.KeepAlive

property KeepAlive: Boolean read fKeepAlive write fKeepAlive default True;
HTTP/1.1 only, and only advisory: it selects the Connection field this client sends - keep-alive (the default) or close. HTTP/2 has no such field and ignores this entirely; a connection there is retired by GOAWAY or by the transport, never by a request header. Setting it False does not close the connection after a response - it asks the SERVER to, and a server is free to keep it open.