warning user in cases of "User xyz already has more than 'max_user_connections' active connections"

This commit is contained in:
Miroslav Stampar
2012-04-12 09:44:54 +00:00
parent 831f79b851
commit 052d9455fe
3 changed files with 9 additions and 1 deletions

View File

@@ -727,6 +727,7 @@ class Connect:
if not response and removeReflection:
page = removeReflectiveValues(page, payload)
kb.maxConnectionsFlag = re.search(r"max.+connections", page or "", re.I) is not None
kb.permissionFlag = re.search(r"(command|permission|access)\s*(was|is)?\s*denied", page or "", re.I) is not None
if content or response: