RBSIZE (JANUS DEFINE parameter): Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:RBSIZE}}
<span class="pageSubtitle">RBSIZE xxxx &mdash; Size of Request Buffer</span>
<span class="pageSubtitle"><section begin="desc" />RBSIZE xxxx -- Size of Request Buffer<section end="desc" /></span>


<var>RBSIZE</var> is a parameter on [[JANUS DEFINE]], which defines and sets characteristics of a Janus port. See the [[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]].
<var>RBSIZE</var> is a parameter on <var>[[JANUS DEFINE]]</var>, 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.  
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 <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.  
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">[[Media:JoclrNew.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 <var>$Srv_Bind</var> function; if the buffer is too small, <var>$Srv_Bind</var> returns an error code indicating so.  


The default for <var>RBSIZE</var> is 4096. The maximum is 65534.  Also see <var>[[IBSIZE (JANUS DEFINE parameter)|IBSIZE]]</var>, <var>[[OBSIZE (JANUS DEFINE parameter)|OBSIZE]]</var>, and <var>[[BSIZE (JANUS DEFINE parameter)|BSIZE]]</var>.
The default for <var>RBSIZE</var> is 4096. The maximum is 16777215 in Model 204 7.8 and later and 65534, before.  Also see <var>[[IBSIZE (JANUS DEFINE parameter)|IBSIZE]]</var>, <var>[[OBSIZE (JANUS DEFINE parameter)|OBSIZE]]</var>, and <var>[[BSIZE (JANUS DEFINE parameter)|BSIZE]]</var>.


<var>RBSIZE</var> is valid for <var>[[JANUS DEFINE#type|WEBSERV]]</var>, OPENSERV and SDS port types.
<var>RBSIZE</var> is valid for <var>[[JANUS DEFINE#type|WEBSERV]]</var>, <var>[[JANUS DEFINE#type|OPENSERV]]</var>, and <var>[[JANUS DEFINE#type|SDS]]</var> port types.


==See also==
==See also==

Latest revision as of 22:53, 28 February 2022

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