From 54c3f80b60db1c1aa134ebf3c2128ee32d67e936 Mon Sep 17 00:00:00 2001 From: hns Date: Tue, 29 Oct 2002 17:34:10 +0000 Subject: [PATCH] Set application checksum in ResponseTrans. --- src/helma/framework/core/RequestEvaluator.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/helma/framework/core/RequestEvaluator.java b/src/helma/framework/core/RequestEvaluator.java index c35dddee..7241b186 100644 --- a/src/helma/framework/core/RequestEvaluator.java +++ b/src/helma/framework/core/RequestEvaluator.java @@ -250,6 +250,9 @@ public final class RequestEvaluator implements Runnable { // set the req.action property, cutting off the _action suffix req.action = action.substring (0, action.length()-7); + // set the application checksum in response to make ETag + // generation sensitive to changes in the app + res.setApplicationChecksum (app.getChecksum ()); // reset skin recursion detection counter skinDepth = 0; @@ -529,7 +532,9 @@ public final class RequestEvaluator implements Runnable { app.logEvent ("Stopping Thread for Request "+app.getName()+"/"+req.path); stopThread (); res.reset (); - res.write ("Error in application '"+app.getName()+"':

Request timed out.
"); + res.write ("Error in application '" + + app.getName() + + "':

Request timed out.
"); } return res; }