RBSIZE (JANUS DEFINE parameter)

From m204wiki
(Redirected from RBSIZE)
Jump to navigation Jump to search

RBSIZE xxxx — Size of Request Buffer

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

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 16777215 in Model 204 7.8 and later and 65534, before. Also see IBSIZE, OBSIZE, and BSIZE.

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

See also