input/curl: disable CURLOPT_FAILONERROR

Let OnHeaders() check the status.

The status checking code was added by commit 4f021cbced in 2011,
but in 2008, commit a8e81326d0 enabled `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()`.
This commit is contained in:
Max Kellermann
2023-05-22 18:47:00 +02:00
parent 740cbe9e02
commit 5cd86e272f
2 changed files with 1 additions and 1 deletions

1
NEWS
View File

@@ -1,6 +1,7 @@
ver 0.23.13 (not yet released)
* input
- curl: fix busy loop after connection failed
- curl: hide "404" log messages for non-existent ".mpdignore" files
* archive
- zzip: fix crash bug
* database