Set application checksum in ResponseTrans.
This commit is contained in:
parent
35d0389d8e
commit
54c3f80b60
1 changed files with 6 additions and 1 deletions
|
@ -250,6 +250,9 @@ public final class RequestEvaluator implements Runnable {
|
||||||
|
|
||||||
// set the req.action property, cutting off the _action suffix
|
// set the req.action property, cutting off the _action suffix
|
||||||
req.action = action.substring (0, action.length()-7);
|
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
|
// reset skin recursion detection counter
|
||||||
skinDepth = 0;
|
skinDepth = 0;
|
||||||
|
@ -529,7 +532,9 @@ public final class RequestEvaluator implements Runnable {
|
||||||
app.logEvent ("Stopping Thread for Request "+app.getName()+"/"+req.path);
|
app.logEvent ("Stopping Thread for Request "+app.getName()+"/"+req.path);
|
||||||
stopThread ();
|
stopThread ();
|
||||||
res.reset ();
|
res.reset ();
|
||||||
res.write ("<b>Error in application '"+app.getName()+"':</b> <br><br><pre>Request timed out.</pre>");
|
res.write ("<b>Error in application '" +
|
||||||
|
app.getName() +
|
||||||
|
"':</b> <br><br><pre>Request timed out.</pre>");
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue