[PATCH] Bug 25600 - debuginfo-client should handle file:// URLs

Mark Wielaard mark@klomp.org
Wed Feb 26 20:14:00 GMT 2020


Hi Konrad,

On Wed, Feb 26, 2020 at 06:08:39PM +0100, Konrad Kleine wrote:
> Subject: [PATCH] debuginfod: file:// URLs: handle curl resp. code
> 
> When file:// is used for DEBUGINFOD_URLS, then the response code for a
> successful server query is 0 and not 200.
> 
> Using file:// can be helpful when you want to test your
> debuginfod-client integration against a mocked file tree that mimics the
> HTTP URLs from the debuginfod server. This way you don't have to run the
> debuginfod server at all.
> 
> Fixes https://sourceware.org/bugzilla/show_bug.cgi?id=25600

Perfect patch, nice testcase. Thanks for the ChangeLog entries.  I did
tweak a few whitespace issues, but the file itself wasn't really
consistent to begin with.

Pushed to master.

Cheers,

Mark



More information about the Elfutils-devel mailing list