debuginfod: Query debuginfod servers before printing response

Mark Wielaard mark@klomp.org
Fri Sep 17 15:06:03 GMT 2021


Hi Noah,

On Fri, 2021-09-17 at 10:55 -0400, Noah Sanci via Elfutils-devel wrote:
> While checking PR27277 on some buildbots, greping would fail in
> run-debuginfod-response-headers.sh. This was because querying the
> debuginfod server occurs after checking if the response headers had
> arrived, leaving the possibility to leave the querying loop before
> outputting the headers which caused the grep failure. Querying now
> occurs before checking if response headers have arrived, so that they
> will certainly be printed and grep will find them.

Thanks for finding this issue. Please push.

Cheers,

Mark


More information about the Elfutils-devel mailing list