RBSIZE (JANUS DEFINE parameter)

From m204wiki
Jump to navigation Jump to search

<section begin="desc" />RBSIZE xxxx -- Size of Request Buffer<section end="desc" />

RBSIZE is a parameter on JANUS DEFINE, which defines and sets characteristics of a Janus port. See the List of JANUS DEFINE parameters.

This parameter specifies the Janus RPC or Request buffer size. On a Web port, the Janus request buffer holds browser request information such as header data, cookies and form data. On other port types, it holds RPC input and output parameters.

If a Janus server thread is started, and the data sent by the client program requires more space for its parameters than is allocated by RBSIZE, the connection to the client is broken and message MSIR.0154 is issued. If a Janus Open Client program sends or receives parameters too long for RBSIZE, the connection to the client is broken and message MSIR.0186 is issued.

The Janus RPC buffer is also used by Open Server programs to contain column descriptions set by the $SRV_BIND function; if the buffer is too small, $SRV_BIND returns an error code indicating so.

The default for RBSIZE is 4096. The maximum is 65534. Also see IBSIZE, OBSIZE and BSIZE.

RBSIZE is valid for WEBSERV, OPENSERV and SDS port types.

References

See: List of Janus commands | List of JANUS DEFINE parameters.