TCP::autowin

Description

Sets the send and receive buffer dynamically in accordance with measured connection parameters.
Syntax

Syntax

TCP::autowin BOOL_VALUE

TCP::autowin BOOL_VALUE

Return Value

None.

Examples

when HTTP_REQUEST {
     # Enable auto buffer tuning on HTTP request(s).
     log local0. "Send buffer: [TCP::sendbuf] Receive Window: [TCP::recvwnd]"
     log local0. "HTTP request, auto buffer tuning enabled."
     TCP::autowin enable
     log local0. "Send buffer: [TCP::sendbuf] Receive Window: [TCP::recvwnd]"
 }