debuginfod: Check result of calling MHD_add_response_header.
authorMark Wielaard <mark@klomp.org>
Wed, 1 Dec 2021 11:32:27 +0000 (12:32 +0100)
committerMark Wielaard <mark@klomp.org>
Wed, 8 Dec 2021 22:12:24 +0000 (23:12 +0100)
commit00d1c798b5225af732ecace438d4895ce6d6d24e
treee99e5ec52fee5ee5e366b5e47035490d2e410bcb
parent3038ee821b29147f2b036372937747f150f2f755
debuginfod: Check result of calling MHD_add_response_header.

Although unlikely the MHD_add_response_header can fail for
various reasons.  If it fails something odd is going on.
So check we can actually add a response header and log an
error if we cannot.

Signed-off-by: Mark Wielaard <mark@klomp.org>
debuginfod/ChangeLog
debuginfod/debuginfod.cxx