Hi -

> When dwarf_extract_source_paths is called, it can call handle_buildid
> when a rpm file used dwz. Ignore such internal request in
> http_requests_total statistics.

Noble goal:

> @@ -1906,7 +1906,7 @@ handle_buildid (MHD_Connection* conn,
>                  const string& buildid /* unsafe */,
>                  string& artifacttype /* unsafe, cleanse on exception/return 
> */,
>                  const string& suffix /* unsafe */,
> -                int *result_fd)
> +                int *result_fd, bool update_metrics = true)

.... but no need for an extra parameter.  When conn==0, we have
an internal request, so can use that as a flag.


- FChE

Reply via email to