https://sourceware.org/bugzilla/show_bug.cgi?id=34158
Aaron Merey <amerey at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amerey at redhat dot com
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
--- Comment #4 from Aaron Merey <amerey at redhat dot com> ---
Fixed in the following commit
commit 5c6fdcbd038dbac7d65b0a71cc2c297c9d4612eb
Author: Aaron Merey <[email protected]>
Date: Sun Jun 14 22:43:55 2026 -0400
debuginfod-client.c: Set CURLOPT_CONNECTTIMEOUT_MS
If the $DEBUGINFOD_TIMEOUT environment variable is set then it is applied
to CURLOPT_LOW_SPEED_TIME/_LIMIT in init_handle(). This causes a server
to be skipped if it does not transfer 100K of data within the given
timeout.
CURLOPT_LOW_SPEED_TIME/_LIMIT begins tracking this timeout only after the
connection to a server has been established. This results in
$DEBUGINFOD_TIMEOUT failing to be enforced if a server is unresponsive
when attempting to establish connection.
Fix this by also setting CURLOPT_CONNECTTIMEOUT_MS with the
$DEBUGINFOD_TIMEOUT as well.
CURLOPT_CONNECTTIMEOUT_MS uses type long. If converting the timeout to
milliseconds will exceed LONG_MAX, then set CURLOPT_CONNECTTIMEOUT_MS to
LONG_MAX.
https://sourceware.org/bugzilla/show_bug.cgi?id=34158
Signed-off-by: Aaron Merey <[email protected]>
--
You are receiving this mail because:
You are on the CC list for the bug.