You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-cvs@tcl.apache.org by mx...@apache.org on 2016/03/27 16:58:45 UTC
svn commit: r1736755 - /tcl/site/rivet/html/rn-2-3.html
Author: mxmanghi
Date: Sun Mar 27 14:58:45 2016
New Revision: 1736755
URL: http://svn.apache.org/viewvc?rev=1736755&view=rev
Log:
improving release notes
Modified:
tcl/site/rivet/html/rn-2-3.html
Modified: tcl/site/rivet/html/rn-2-3.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/html/rn-2-3.html?rev=1736755&r1=1736754&r2=1736755&view=diff
==============================================================================
--- tcl/site/rivet/html/rn-2-3.html (original)
+++ tcl/site/rivet/html/rn-2-3.html Sun Mar 27 14:58:45 2016
@@ -52,13 +52,19 @@
<p>
Rivet 2.3.0 introduces the command <b>::rivet::try</b>
- as a wrapper of the Tcl core
+ and <b>::rivet::catch</b>
+
+
+ as a wrappers of the Tcl core
language <b>try</b>
-. This command is not exported to the global namespace even when
+ and <b>catch</b>
+
+ commands. These commands are not exported to
+ the global namespace even when
mod_rivet is build with the <i>--enable-rivet-commands-export</i>
-. This command should be
+ and they should be
used within Rivet scripts to protect any <b>::rivet::abort_page</b>
and
@@ -76,6 +82,26 @@
fails if mod_rivet is not built with Tcl >= 8.6
</p>
+ <p>
+ Command <b>::rivet::exit</b>
+
+ was also introduced to help mod_rivet to give the command
+ exit a more sensible behavior within the context of the Apache HTTP Web Server.
+ In fact the core command has become an alias of <b>::rivet::exit</b>
+
+ which interrupts
+ the script execution and hands control to any AbortScript, completes the request
+ and just before returning to the web server framework terminates the child process
+ by calling <b>Tcl_Exit</b>
+ </p>
+ <p>
+ This command replaces the <b>exit</b>
+
+ core command and it's provided as a way
+ to give it a meaning within the Rivet and Apache context but the
+ programmer should avoid to use it and instead adopt proper software design
+ to bring about sudden process termination
+ </p>
</div>
</div>
---------------------------------------------------------------------
To unsubscribe, e-mail: site-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: site-cvs-help@tcl.apache.org