You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tcl.apache.org by mx...@apache.org on 2020/11/02 22:57:56 UTC
[tcl-rivet] branch master updated: SingleThreadExit entry
re-elaborated
This is an automated email from the ASF dual-hosted git repository.
mxmanghi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tcl-rivet.git
The following commit(s) were added to refs/heads/master by this push:
new d4c17fb SingleThreadExit entry re-elaborated
d4c17fb is described below
commit d4c17fb927f4d2d5e2b9a7ddd49a29b2286140e6
Author: Massimo Manghi <mx...@apache.org>
AuthorDate: Mon Nov 2 23:57:32 2020 +0100
SingleThreadExit entry re-elaborated
---
ChangeLog | 3 +++
doc/rivet.xml | 1 +
doc/rivet.xml.in | 1 +
doc/xml/directives.xml | 4 ++--
doc/xml/processing.xml | 23 ++++++++++++-----------
src/mod_rivet_ng/mod_rivet.c | 2 +-
6 files changed, 20 insertions(+), 14 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 6d9e7ad..fd5a3ef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2020-11-02 Massimo Manghi <mx...@apache.org>
+ * doc/xml/directives.xml: SingleThreadExit entry re-elaborated
+
2020-10-04 Massimo Manghi <mx...@apache.org>
* src/mod_rivet_ng/mod_rivet.c: forcing variable assignment in condition
diff --git a/doc/rivet.xml b/doc/rivet.xml
index dbcf947..0c0391b 100644
--- a/doc/rivet.xml
+++ b/doc/rivet.xml
@@ -39,6 +39,7 @@
<!ENTITY fullversion "3.2.0" >
<!ENTITY version2-series "2.0,2.1,2.2,2.3,2.4" >
<!ENTITY version2-generic "2.x" >
+ <!ENTITY version3-generic "3.x" >
<!ENTITY version30 "3.0" >
<!ENTITY version31 "3.1" >
<!ENTITY version32 "3.2" >
diff --git a/doc/rivet.xml.in b/doc/rivet.xml.in
index 825e1ee..3202795 100644
--- a/doc/rivet.xml.in
+++ b/doc/rivet.xml.in
@@ -39,6 +39,7 @@
<!ENTITY fullversion "@PACKAGE_VERSION@" >
<!ENTITY version2-series "2.0,2.1,2.2,2.3,2.4" >
<!ENTITY version2-generic "2.x" >
+ <!ENTITY version3-generic "3.x" >
<!ENTITY version30 "3.0" >
<!ENTITY version31 "3.1" >
<!ENTITY version32 "3.2" >
diff --git a/doc/xml/directives.xml b/doc/xml/directives.xml
index 9f707aa..b0414c3 100644
--- a/doc/xml/directives.xml
+++ b/doc/xml/directives.xml
@@ -529,10 +529,10 @@
an improperly developed Tcl extension which might cause a child process to crash when
calling Tcl_DeleteInterp.
</para>
- <para>
+ <note>
The default is <command>No</command> for the prefork bridge (loaded by default if the server
runs the prefork MPM) and <command>true</command> for the worker and lazy bridges
- </para>
+ </note>
</listitem>
</varlistentry>
diff --git a/doc/xml/processing.xml b/doc/xml/processing.xml
index e77bb90..4df9b2a 100644
--- a/doc/xml/processing.xml
+++ b/doc/xml/processing.xml
@@ -3,23 +3,24 @@
<section>
<title>Tcl Scripts Processing</title>
<para>
- The mod_rivet &version2-generic; modules handle an HTTP request
- by running a Tcl script or a Rivet (.rvt file) template
- whose path appears encoded in the URI (an alias translation or
+ Until &version2-generic; versions Rivet handled requests
+ following the vision that inspired the original design
+ which was summarized in the definition <q>Web programming
+ like in PHP, but with Tcl</q>. HTTP requests triggered the
+ execution of Tcl scripts or a Rivet (.rvt file) templates
+ whose path is encoded in the URI (an alias translation or
URL rewriting might occur to establish the real path).
The execution of such scripts can be preceded and/or
- followed by the execution scripts common to every path
- configured through the BeforeScript and AfterScript
+ followed by the execution of scripts common to a whole web site
+ or to a hierarchy of directories the BeforeScript and AfterScript
directives. These scripts can be configured on a per virtual host,
per directory or per user basis. Execution of such combined
scripts can break because of coding errors (thus triggering the
ErrorScript execution) or it can deliberately interrupt
- ordinary execution by calling ::rivet::abort_page (triggering
+ ordinary execution by calling ::rivet::abort_page (which triggers
the execution of a script defined by the directive AbortScript).
- This scheme is in case
- terminated by a further configurable script (AfterEveryScript).
- In mod_rivet &version2-generic; module series
- this model of request handling was coded within
+ This scheme is in case terminated by a further configurable script
+ (AfterEveryScript). This model of request handling was coded within
the module mod_rivet.so itself.
</para>
<para>
@@ -31,7 +32,7 @@
<programlisting>&request_handler.tcl;</programlisting>
<para>
- Note the call to new &version30; command ::rivet::url_script
+ Note the call to new &version3-generic; command ::rivet::url_script
that returns the body of the Tcl script or Rivet template
pointed by the URL.
</para>
diff --git a/src/mod_rivet_ng/mod_rivet.c b/src/mod_rivet_ng/mod_rivet.c
index a7b6681..a19445b 100644
--- a/src/mod_rivet_ng/mod_rivet.c
+++ b/src/mod_rivet_ng/mod_rivet.c
@@ -87,7 +87,7 @@ DLLEXPORT mod_rivet_globals* module_globals = NULL;
* The value is interpolated with the macro RIVET_MPM_BRIDGE_COMPOSE
* to compose the full path (e.g. 'lazy' -> RIVET_DIR'/mpm/rivet_lazy_mpm.so')
* to the bridge module.
- * - If the interpolated file name doesn't not exist the mpm_bridge string is
+ * - If the interpolated file name doesn't exist the mpm_bridge string is
* checked as a full path to the MPM bridge. If not existing the server exits
* - An heuristics criterion based on the MPM module features returned by
* mpm_bridge_query is evaluated.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tcl.apache.org
For additional commands, e-mail: commits-help@tcl.apache.org