LB::detach

Description

This command detaches the server-side connection from the client-side.

Warning

**There are version specific notes for using this command in the LB_FAILED event below, but generally, note that while legal, using LB::detach under LB_FAILED can result in connection failures and server rejects.

Syntax

LB::detach

LB::detach

  • Detaches the server side connection from the client-side connection.
  • Use in conjunction with TCP::notify as best practice.

Examples

when SERVER_CONNECTED {
   if { $connRetry >= $maxAttempts } {
      TCP::notify response
   }
}

when USER_RESPONSE {
   LB::detach
}