Module: check_mk
Branch: master
Commit: 4c50e37c08d376a92c5d836ef3f60b22e12cd4aa
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4c50e37c08d376…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Sep 28 14:30:38 2012 +0200
FIX: Fixed releasing of locks and livestatus connections when logging out
---
ChangeLog | 1 +
web/htdocs/index.py | 4 +++-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 8f4f376..ae1d0c1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,6 +11,7 @@
information for a specific list of hosts or aggregation groups.
* BI: Added new config option bi_compile_log to collect statistics about
aggregation compilations
+ * FIX: Fixed releasing of locks and livestatus connections when logging out
1.2.0p3:
Mulitisite
diff --git a/web/htdocs/index.py b/web/htdocs/index.py
index 63c6b87..f7e8ebd 100644
--- a/web/htdocs/index.py
+++ b/web/htdocs/index.py
@@ -386,7 +386,9 @@ def handler(req, profiling = True):
else:
response_code = apache.HTTP_BAD_GATEWAY
- except apache.SERVER_RETURN:
+ except (apache.SERVER_RETURN,
+ (apache.SERVER_RETURN, apache.HTTP_UNAUTHORIZED),
+ (apache.SERVER_RETURN, apache.HTTP_MOVED_TEMPORARILY)):
release_all_locks()
html.live = None
raise