added null connection check

This commit is contained in:
Miroslav Stampar
2010-09-16 08:43:10 +00:00
parent ecd6b573f7
commit b745331974
4 changed files with 44 additions and 12 deletions

View File

@@ -29,6 +29,7 @@ from lib.controller.checks import checkStability
from lib.controller.checks import checkString
from lib.controller.checks import checkRegexp
from lib.controller.checks import checkConnection
from lib.controller.checks import checkNullConnection
from lib.core.common import getUnicode
from lib.core.common import paramToDict
from lib.core.common import parseTargetUrl
@@ -165,6 +166,8 @@ def start():
if not checkConnection() or not checkString() or not checkRegexp():
continue
checkNullConnection()
if not conf.dropSetCookie:
for _, cookie in enumerate(conf.cj):
cookie = getUnicode(cookie)