CLOSEIMMED (JANUS DEFINE parameter): Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:CLOSEIMMED}} <span class="pageSubtitle"><section begin="desc" /><section end="desc" /></span> CLOSEIMMED is a parameter on JANUS DEFINE, which defines and set...")
 
m (minor formatting)
 
(16 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:CLOSEIMMED}}
<span class="pageSubtitle">Bump lost web threads immediately.</span>
<span class="pageSubtitle"><section begin="desc" /><section end="desc" /></span>


CLOSEIMMED 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>CLOSEIMMED</var> is a parameter on <var>[[JANUS DEFINE]]</var>, which defines and sets characteristics of a Janus port.  


This parameter indicates that if a lost connection is noticed by the Janus PST, the PST should BUMP the <var class="product">Model 204</var> thread associated with the connection immediately. If <var>CLOSEIMMED</var> is not specified a lost connection will only cause request termination when the web thread invokes a $Web function. Typically, the Janus PST will not notice that a connection has been lost until the user issues a [[$Web_Done]] because until then there will be no TCP/IP calls that can discover that the connection has been lost. Without the <var>[[CLOSEREAD (JANUS DEFINE parameter)|CLOSEREAD]]</var> parameter the <var>CLOSEIMMED</var> parameter will probably have no effect.


<var>CLOSEREAD</var> and <var>CLOSEIMMED</var> are useful for ensuring that CPU and I/O intensive web requests will be terminated immediately should the user become impatient and cancel the request.


This parameter indicates that if a lost connection is noticed by the Janus PST, the PST should BUMP the ''Model 204'' thread associated with the connection immediately. If CLOSEIMMED is not specified a lost connection will only cause request termination when the web thread invokes a $Web function. Typically, the Janus PST will not notice that a connection has been lost until the user issues a $Web_Done because until then there will be no TCP/IP calls that can discover that the connection has been lost. Without the CLOSEREAD parameter (:hdref refid=clread.) the CLOSEIMMED parameter will probably have no effect.  
Valid only for <var>[[JANUS DEFINE#type|WEBSERV]]</var> ports.


CLOSEREAD and CLOSEIMMED are useful for ensuring that CPU and I/O intensive web requests will be terminated immediately should the user become impatient and cancel the request.
==See also==
 
<ul>
Valid only for WEBSERV ports.
<li>[[List of Janus commands]]
 
<li>[[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]]
==References==
</ul>
 
See: [[List of Janus commands]] | [[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]].


[[Category:JANUS DEFINE parameters|CLOSEIMMED]]
[[Category:JANUS DEFINE parameters|CLOSEIMMED]]

Latest revision as of 18:13, 8 June 2016

Bump lost web threads immediately.

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

This parameter indicates that if a lost connection is noticed by the Janus PST, the PST should BUMP the Model 204 thread associated with the connection immediately. If CLOSEIMMED is not specified a lost connection will only cause request termination when the web thread invokes a $Web function. Typically, the Janus PST will not notice that a connection has been lost until the user issues a $Web_Done because until then there will be no TCP/IP calls that can discover that the connection has been lost. Without the CLOSEREAD parameter the CLOSEIMMED parameter will probably have no effect.

CLOSEREAD and CLOSEIMMED are useful for ensuring that CPU and I/O intensive web requests will be terminated immediately should the user become impatient and cancel the request.

Valid only for WEBSERV ports.

See also