TCP:set_dst_key(data)
Allows you to set a destination key. FortiADC uses this key to identify the TCP connection in scenarios where there are multiple clients to one real server.
Syntax
TCP:set_dst_key(data)
Arguments
| Name | Description |
|---|---|
|
data |
A string which can identify a TCP connection. |
Events
Applicable in STREAM_RESPONSE_DATA.
Example
when STREAM_RESPONSE_DATA {
TCP:set_dst_key(get_key())
}
Supported Version
FortiADC version 6.1.1 and later.