FrcaCtrlStop Subroutine
Purpose
Stops the interception of TCP data connections for a Fast Response Cache Accelerator (FRCA) instance.
Library
FRCA Library (libfrca.a)
Syntax
Description
The FrcaCtrlStop subroutine stops the interception of newly arriving TCP data connections for a previously configured FRCA instance. Connection requests are passed to the user-level application that has established the listen socket.
The only FRCA instance type that is currently supported handles static GET requests as part of the Hypertext Transfer Protocol (HTTP).
Parameters
Item | Description |
---|---|
FrcaHandle | Identifies the FRCA instance on which this operation is performed. |
Return Values
Item | Description |
---|---|
0 | The subroutine completed successfully. |
-1 | The subroutine failed. The global variable errno is set to indicate the specific type of error. |
Error Codes
Item | Description |
---|---|
ENOENT | The FrcaHandle parameter is invalid. |
ENOTREADY | The FRCA control instance has not been started yet. |