DataScript: avi.http.close_conn

Function >avi.http.close_conn( [reset] )

Description

Closes the current TCP connection.

Events

HTTP_REQ
HTTP_RESP

Parameter

The reset flag will RST the connection, rather than use the default FIN.

Returns

No return value

Example

if avi.vs.client_ip() == "10.1.1.1" then
   avi.http.close_conn()
end

Updated: 2018-01-24 01:08:27 +0000