Brocade Virtual ADX OpenScript API Guide (Supporting ADX v Manuel d'utilisateur Page 112

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 132
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 111
100 Brocade Virtual ADX OpenScript API Guide
53-1003243-01
Methods
7
Input Parameters
The following table contains the input values.
Return Values
None
Example
OS _SLB:: reset_client
Description
Causes the system to reset a TCP connection.
Context
This function can be called from an HTTP request event or TCP client events.
Usage
Can be used to reset client connection instead of load balancing traffic.
Input Parameters
None.
Return Values
None.
TABLE 122 Input Values
Name Type Description
$data string The error page you want to send
(optional)
string The default string sent if one is
not specified by $data. I
use OS_SLB;
use OS_HTTP_REQUEST;
sub HTTP_REQUEST{
OS_SLB::reply("HTTP/1.1 403 Forbidden\r\nServer: HTTP Proxy/1.0\r\nConnection:
Close\r\nContent-Length: 0\r\n\r\n"");
}
Vue de la page 111
1 2 ... 107 108 109 110 111 112 113 114 115 116 117 ... 131 132

Commentaires sur ces manuels

Pas de commentaire