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 2014/02/03 15:47:36 UTC

svn commit: r1563928 - in /tcl/rivet/trunk: ChangeLog src/apache-2/mod_rivet.c

Author: mxmanghi
Date: Mon Feb  3 14:47:36 2014
New Revision: 1563928

URL: http://svn.apache.org/r1563928
Log:
    * src/apache-2/mod_rivet.c: globals->req had to be set to NULL in Rivet_PerInterpInit!


Modified:
    tcl/rivet/trunk/ChangeLog
    tcl/rivet/trunk/src/apache-2/mod_rivet.c

Modified: tcl/rivet/trunk/ChangeLog
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/ChangeLog?rev=1563928&r1=1563927&r2=1563928&view=diff
==============================================================================
--- tcl/rivet/trunk/ChangeLog (original)
+++ tcl/rivet/trunk/ChangeLog Mon Feb  3 14:47:36 2014
@@ -1,3 +1,6 @@
+2013-02-03 Massimo Manghi <mx...@apache.org>
+    * src/apache-2/mod_rivet.c: globals->req had to be set to NULL in Rivet_PerInterpInit!
+
 2013-02-02 Massimo Manghi <mx...@apache.org>
     * src/apache-2/mod_rivet.[c|h]: further optimizing code avoiding to
     allocate a TclWebRequest structure on every request. This structure

Modified: tcl/rivet/trunk/src/apache-2/mod_rivet.c
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/src/apache-2/mod_rivet.c?rev=1563928&r1=1563927&r2=1563928&view=diff
==============================================================================
--- tcl/rivet/trunk/src/apache-2/mod_rivet.c (original)
+++ tcl/rivet/trunk/src/apache-2/mod_rivet.c Mon Feb  3 14:47:36 2014
@@ -711,8 +711,9 @@ Rivet_PerInterpInit(server_rec *s, rivet
     /* Rivet commands namespace is created */
     globals->rivet_ns = Tcl_CreateNamespace (interp,RIVET_NS,NULL,
                                             (Tcl_NamespaceDeleteProc *)NULL);
-    globals->page_aborting = 0;
-    globals->abort_code = NULL;
+    globals->page_aborting  = 0;
+    globals->abort_code     = NULL;
+    globals->req            = NULL;
     globals->tclwebreq = (TclWebRequest *)apr_pcalloc(p, sizeof(TclWebRequest));
 
     /* Eval Rivet's init.tcl file to load in the Tcl-level commands. */



---------------------------------------------------------------------
To unsubscribe, e-mail: site-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: site-cvs-help@tcl.apache.org