Re: [PATCH] debuginfod: Check result of calling MHD_add_response_header.

2021-12-01 Thread Mark Wielaard
H Frank, On Wed, 2021-12-01 at 07:02 -0500, Frank Ch. Eigler wrote: > 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 before using > > the response. > > ISTM it is okay to se

Re: [PATCH] debuginfod: Check result of calling MHD_add_response_header.

2021-12-01 Thread Frank Ch. Eigler via Elfutils-devel
Hi - > 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 before using > the response. ISTM it is okay to send the response object (the body), even if something goes wrong with addi

[PATCH] debuginfod: Check result of calling MHD_add_response_header.

2021-12-01 Thread Mark Wielaard
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 before using the response. Signed-off-by: Mark Wielaard --- debuginfod/ChangeLog | 10 +++ debuginfod/debuginfod.cxx | 127