You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by mx...@apache.org on 2012/09/29 18:20:06 UTC

svn commit: r1391831 - in /tcl/rivet/branches/2.0: ChangeLog Makefile.in src/apache-2/mod_rivet.c

Author: mxmanghi
Date: Sat Sep 29 16:20:06 2012
New Revision: 1391831

URL: http://svn.apache.org/viewvc?rev=1391831&view=rev
Log:
    * src/apache-2/mod_rivet.c: Getting an error when evaluating request init script returns
    now HTTP_INTERNAL_SERVER_ERROR


Modified:
    tcl/rivet/branches/2.0/ChangeLog
    tcl/rivet/branches/2.0/Makefile.in
    tcl/rivet/branches/2.0/src/apache-2/mod_rivet.c

Modified: tcl/rivet/branches/2.0/ChangeLog
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/2.0/ChangeLog?rev=1391831&r1=1391830&r2=1391831&view=diff
==============================================================================
--- tcl/rivet/branches/2.0/ChangeLog (original)
+++ tcl/rivet/branches/2.0/ChangeLog Sat Sep 29 16:20:06 2012
@@ -1,3 +1,7 @@
+2012-09-29 Massimo Manghi <mx...@apache.org>
+    * src/apache-2/mod_rivet.c: Getting an error when evaluating request init script returns
+    now HTTP_INTERNAL_SERVER_ERROR
+
 2012-09-22 Massimo Manghi <mx...@apache.org>
     * rivet/packages/dio/dio.tcl: various methods used as
     accessors to some property variables of the class Database were not returning their values
@@ -16,7 +20,6 @@
 2012-09-18 Massimo Manghi <mx...@apache.org>
     * rivet/pkgIndex.tcl: index file regenerated
 
-
 2012-09-16 Massimo Manghi <mx...@apache.org>
     * tests/runtests.tcl,tests/apachetest.tcl: User and Group directives removed from conffile
     template to make test suite independent from the output of command 'id' from which 

Modified: tcl/rivet/branches/2.0/Makefile.in
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/2.0/Makefile.in?rev=1391831&r1=1391830&r2=1391831&view=diff
==============================================================================
--- tcl/rivet/branches/2.0/Makefile.in (original)
+++ tcl/rivet/branches/2.0/Makefile.in Sat Sep 29 16:20:06 2012
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.11.6 from Makefile.am.
+# Makefile.in generated by automake 1.11.5 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,

Modified: tcl/rivet/branches/2.0/src/apache-2/mod_rivet.c
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/2.0/src/apache-2/mod_rivet.c?rev=1391831&r1=1391830&r2=1391831&view=diff
==============================================================================
--- tcl/rivet/branches/2.0/src/apache-2/mod_rivet.c (original)
+++ tcl/rivet/branches/2.0/src/apache-2/mod_rivet.c Sat Sep 29 16:20:06 2012
@@ -1681,8 +1681,9 @@ Rivet_SendContent(request_rec *r)
     if (Tcl_EvalObjEx(interp, request_init, 0) == TCL_ERROR)
     {
         ap_log_error(APLOG_MARK, APLOG_ERR, APR_EGENERAL, r->server,
-                "Could not create request namespace\n");
-        retval = HTTP_BAD_REQUEST;
+                "Could not create request namespace (%s)\n",
+                Tcl_GetStringResult(interp));
+        retval = HTTP_INTERNAL_SERVER_ERROR;
         goto sendcleanup;
     }
 



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