RBSIZE (JANUS DEFINE parameter): Difference between revisions
mNo edit summary |
m (remove displaytitle) |
||
Line 1: | Line 1: | ||
<span class="pageSubtitle">RBSIZE xxxx — Size of Request Buffer</span> | <span class="pageSubtitle">RBSIZE xxxx — Size of Request Buffer</span> | ||
Line 6: | Line 5: | ||
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">[ | 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 <var>$Srv_Bind</var> function; if the buffer is too small, <var>$Srv_Bind</var> 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. | ||
Line 12: | Line 11: | ||
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 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>. | ||
<var>RBSIZE</var> is valid for <var>[[JANUS DEFINE#type|WEBSERV]]</var>, OPENSERV and <var>[[JANUS DEFINE#type|SDS]]</var> 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== |
Revision as of 22:59, 7 June 2016
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 65534. Also see IBSIZE, OBSIZE, and BSIZE.
RBSIZE is valid for WEBSERV, OPENSERV, and SDS port types.