RBSIZE (JANUS DEFINE parameter): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 6: Line 6:
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.  
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 <var>RBSIZE</var>, the connection to the client is broken and message [[MSIR.0154 SYBMSG(20154,15,1) Length of variables and RPC parameters exceeds RBSIZE|MSIR.0154]] is issued. If a ''[[Janus Open Client]]'' program sends or receives parameters too long for <var>RBSIZE</var>, the connection to the client is broken and message [[MSIR.0186 Connection to server (servername) terminated, insufficient RPC buffer space|MSIR.0186]] is issued.  
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 <var>RBSIZE</var>, the connection to the client is broken and message [[MSIR.0154 SYBMSG(20154,15,1) Length of variables and RPC parameters exceeds RBSIZE|MSIR.0154]] is issued. If a <var class="product">[http://sirius-software.com/maint/download/joclr.pdf Janus Open Client]</var> program sends or receives parameters too long for <var>RBSIZE</var>, the connection to the client is broken and message [[MSIR.0186 Connection to server (servername) terminated, insufficient RPC buffer space|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 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.  

Revision as of 22:11, 27 February 2012

<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.