Let OnHeaders() check the status. The status checking code was added by commit4f021cbcedin 2011, but in 2008, commita8e81326d0enabled `CURLOPT_FAILONERROR`, which means the status checking code never had any effect. This allows `LoadExcludeListOrLog()` to hide boring "404 Not Found" log messages via `IsFileNotFound()`.
90 KiB
90 KiB