Skip to content

Commit 5854119

Browse files
committed
Bug fix for automatic analyse getting caught in a loop
1 parent 1dea75e commit 5854119

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2014 AshleyPoole - www.ashleypoole.co.uk
3+
Copyright (c) 2015 AshleyPoole - www.ashleypoole.co.uk
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

SSLLWrapper/SSLLService.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ public Analyze AutomaticAnalyze(string host, Publish publish, ClearCache clearCa
141141
var sleepIntervalMilliseconds = sleepInterval * 1000;
142142
var analyzeModel = Analyze(host, publish, clearCache, fromCache, all);
143143

144+
// Ignoring cache settings after first request to prevent loop
145+
clearCache = ClearCache.Ignore;
146+
144147
// Shouldn't have to check status header as HasErrorOccurred should be enough
145148
while (analyzeModel.HasErrorOccurred == false && analyzeModel.status != "READY" && (DateTime.Now - startTime).TotalSeconds < maxWaitInterval)
146149
{

0 commit comments

Comments
 (0)