DEBPORTOPEN and NODEBPORTOPEN (JANUS DEFINE parameters): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
m (minor formatting)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:DEBPORTOPEN and NODEBPORTOPEN}}
{{DISPLAYTITLE:DEBPORTOPEN and NODEBPORTOPEN}}
<span class="pageSubtitle"><section begin="desc" />File/Group open setting when debugging web ports<section end="desc" /></span>
<span class="pageSubtitle">File/Group open setting when debugging web ports</span>


<var>DEBPORTOPEN</var> and <var>NODEBPORTOPEN</var> are parameters on [[JANUS DEFINE]], whichs define and sets characteristics of a Janus port. See the [[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]].
<var>DEBPORTOPEN</var> and <var>NODEBPORTOPEN</var> are parameters on <var>[[JANUS DEFINE]]</var>, whichs define and sets characteristics of a Janus port.  


Indicates whether the files and groups specified in the <var>[[OPEN (JANUS DEFINE parameter)|OPEN]]</var> clause of the <var>JANUS DEFINE</var> command are to be opened on threads debugging requests to the port with the JANUSDEBUG command. The default of <var>NODEBPORTOPEN</var> means that these files and groups will not be opened.  
Indicates whether the files and groups specified in the <var>[[OPEN (JANUS DEFINE parameter)|OPEN]]</var> clause of the <var>JANUS DEFINE</var> command are to be opened on threads debugging requests to the port with the <var>JANUSDEBUG</var> command. The default of <var>NODEBPORTOPEN</var> means that these files and groups will not be opened.  


If the files or groups in the <var>OPEN</var> clause are essential to the correct operation of web requests, or if the commands in the <var>[[CMD (JANUS DEFINE parameter)|CMD]]</var> clause are themselves to be debugged because of the <var>[[DEBPORTCMD and NODEBPORTCMD (JANUS DEFINE parameters)|DEBPORTCMD]]</var> parameter in the port definition and that requires the files or groups in the <var>OPEN</var> clause, specify the <var>DEBPORTOPEN</var> parameter.  
If the files or groups in the <var>OPEN</var> clause are essential to the correct operation of web requests, or if the commands in the <var>[[CMD (JANUS DEFINE parameter)|CMD]]</var> clause are themselves to be debugged because of the <var>[[DEBPORTCMD and NODEBPORTCMD (JANUS DEFINE parameters)|DEBPORTCMD]]</var> parameter in the port definition and that requires the files or groups in the <var>OPEN</var> clause, specify the <var>DEBPORTOPEN</var> parameter.  


Files and groups opened as a result of the <var>DEBPORTOPEN</var> parameter are always closed before the debugging thread returns from the JANUSDEBUG command. If <var>DEBPORTOPEN</var> is specified but one or more files or groups in the <var>OPEN</var> clause are already open on a debugging thread, those files and groups will '''not''' be opened and closed by JANUSDEBUG processing, even if the privileges with which they are open do not match the explicit or implicit file/group privileges in the <var>OPEN</var> clause.  
Files and groups opened as a result of the <var>DEBPORTOPEN</var> parameter are always closed before the debugging thread returns from the <var>JANUSDEBUG</var> command. If <var>DEBPORTOPEN</var> is specified but one or more files or groups in the <var>OPEN</var> clause are already open on a debugging thread, those files and groups will '''not''' be opened and closed by <var>JANUSDEBUG</var> processing, even if the privileges with which they are open do not match the explicit or implicit file/group privileges in the <var>OPEN</var> clause.  


Valid only for <var>[[JANUS DEFINE#type|WEBSERV]]</var> ports.
Valid only for <var>[[JANUS DEFINE#type|WEBSERV]]</var> ports.
Line 17: Line 17:
<li>[[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]]
<li>[[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]]
</ul>
</ul>


[[Category:JANUS DEFINE parameters|DEBPORTOPEN and NODEBPORTOPEN]]
[[Category:JANUS DEFINE parameters|DEBPORTOPEN and NODEBPORTOPEN]]

Latest revision as of 18:08, 8 June 2016

File/Group open setting when debugging web ports

DEBPORTOPEN and NODEBPORTOPEN are parameters on JANUS DEFINE, whichs define and sets characteristics of a Janus port.

Indicates whether the files and groups specified in the OPEN clause of the JANUS DEFINE command are to be opened on threads debugging requests to the port with the JANUSDEBUG command. The default of NODEBPORTOPEN means that these files and groups will not be opened.

If the files or groups in the OPEN clause are essential to the correct operation of web requests, or if the commands in the CMD clause are themselves to be debugged because of the DEBPORTCMD parameter in the port definition and that requires the files or groups in the OPEN clause, specify the DEBPORTOPEN parameter.

Files and groups opened as a result of the DEBPORTOPEN parameter are always closed before the debugging thread returns from the JANUSDEBUG command. If DEBPORTOPEN is specified but one or more files or groups in the OPEN clause are already open on a debugging thread, those files and groups will not be opened and closed by JANUSDEBUG processing, even if the privileges with which they are open do not match the explicit or implicit file/group privileges in the OPEN clause.

Valid only for WEBSERV ports.

See also