File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ def __init__(self):
45
45
46
46
def funInfo (self , boolConTune = False ):
47
47
# Check availability of SSL Labs servers, adjust concurrency and cool-off period
48
+ if self .boolIM :
49
+ self .strAnStNew += '&ignoreMismatch=on'
48
50
try :
49
51
objHResp = json .loads (self .objHS .get (self .strAPIE + self .strInfo ).content )
50
52
self .intCool = objHResp ['newAssessmentCoolOff' ] / 1000
@@ -62,8 +64,6 @@ def funAnalyze(self, strHost):
62
64
# Initiate a new assessment for a host
63
65
while True :
64
66
try :
65
- if self .boolIM :
66
- self .strAnStNew += '&ignoreMismatch=on'
67
67
objHResp = self .objHS .get (self .strAPIE + self .strAnalyze + strHost + self .strAnStNew )
68
68
if objHResp .status_code in [429 , 503 , 529 ]:
69
69
# 429 - client request rate too high or too many new assessments too fast
You can’t perform that action at this time.
0 commit comments