]> git.ipfire.org Git - thirdparty/elfutils.git/commit
PR28661: debuginfo connection thread pool support
authorFrank Ch. Eigler <fche@redhat.com>
Thu, 9 Dec 2021 03:41:47 +0000 (22:41 -0500)
committerFrank Ch. Eigler <fche@redhat.com>
Fri, 10 Dec 2021 19:00:29 +0000 (14:00 -0500)
commit80ea3cf328eb94fd78e494d0128561f53e20114d
tree942346048fbe1ebfe3055286e98e964b45cf3dfc
parent78ecba0926216e0ad90b71f789636d1e0a9777ca
PR28661: debuginfo connection thread pool support

Add an option -C, which activates libmicrohttpd's thread-pool mode for
handling incoming http connections.  Add libmicrohttpd error-logging
callback function so as to receive indication of its internal errors,
and relay counts to our metrics.  Some of these internal errors tipped
us off to a microhttpd bug that thread pooling works around.  Document
in debuginfod.8 page.  Hand-tested against "ulimit -u NNN" shells, and
with a less strenuous new test case.

Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
NEWS
debuginfod/ChangeLog
debuginfod/debuginfod.cxx
doc/ChangeLog
doc/debuginfod.8
tests/ChangeLog
tests/Makefile.am
tests/debuginfod-subr.sh
tests/run-debuginfod-webapi-concurrency.sh [new file with mode: 0755]