mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-24 06:15:27 +00:00
Adding more error to ignore with hosts (#3121)
This commit is contained in:
parent
07597744f3
commit
212d0e5cfc
@ -128,7 +128,7 @@ func (c *Cache) MarkFailed(value string, err error) {
|
||||
_ = c.failedTargets.Set(finalValue, existingCacheItemValue)
|
||||
}
|
||||
|
||||
var reCheckError = regexp.MustCompile(`(no address found for host|Client\.Timeout exceeded while awaiting headers|could not resolve host|connection refused)`)
|
||||
var reCheckError = regexp.MustCompile(`(no address found for host|Client\.Timeout exceeded while awaiting headers|could not resolve host|connection refused|context deadline exceeded)`)
|
||||
|
||||
// checkError checks if an error represents a type that should be
|
||||
// added to the host skipping table.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user