easy: reset errorbuf on eyeballing success

Any failf() that fill the errorbuf need to be forgotten once happy
eyeballing finds a succssful winner. Because the errorbuf, once set, is
not overwritten with future error information.

Adds test_05_05 to verify.

Reported-by: Tim Friedrich Brüggemann
Fixes #20608

Closes #20613
This commit is contained in:
Stefan Eissing 2026-02-17 09:50:25 +01:00 committed by Viktor Szakats
parent 36c2c7626f
commit f1c9d5e484
No known key found for this signature in database
7 changed files with 47 additions and 0 deletions

View file

@ -58,6 +58,10 @@ only send 800.
The percentage of send() calls that should be answered with EAGAIN at random.
QUIC only.
## `CURL_DBG_SOCK_FAIL_IPV6`
Fail opening of sockets for the IPv6 address family.
## `CURL_DEBUG`
Trace logging behavior as an alternative to calling curl_global_trace(3).