Greenbone is a program that uses libmicrohttpd: # gsad -f --listen=127.0.0.1 --mlisten=127.0.0.1 --mport=9390 Warning: MHD_USE_THREAD_PER_CONNECTION must be used only with MHD_USE_INTERNAL_POLLING_THREAD. Flag MHD_USE_INTERNAL_POLLING_THREAD was added. Consider setting MHD_USE_INTERNAL_POLLING_THREAD explicitly. Warning: MHD_USE_THREAD_PER_CONNECTION must be used only with MHD_USE_INTERNAL_POLLING_THREAD. Flag MHD_USE_INTERNAL_POLLING_THREAD was added. Consider setting MHD_USE_INTERNAL_POLLING_THREAD explicitly. Warning: MHD_USE_THREAD_PER_CONNECTION must be used only with MHD_USE_INTERNAL_POLLING_THREAD. Flag MHD_USE_INTERNAL_POLLING_THREAD was added. Consider setting MHD_USE_INTERNAL_POLLING_THREAD explicitly. Please refer to https://lists.gnu.org/archive/html/libmicrohttpd/2017-04/msg00021.html, containing a report of a similar issue and the suggestion to use MHD_USE_AUTO. For some reason the configuration set in the ebuild seems to have broken libmicrohttpd to the point it is not usable: $ wget localhost:80 --2017-12-30 20:54:17-- http://localhost/ Resolving localhost... ::1, 127.0.0.1 Connecting to localhost|::1|:80... connected. HTTP request sent, awaiting response... 200 No headers, assuming HTTP/0.9 Length: unspecified Saving to: ‘index.html’ index.html [ <=> ] 51 --.-KB/s in 0s 2017-12-30 20:54:17 (7.27 MB/s) - Read error at byte 51 (Connection reset by peer).Retrying. Ad infinitum. Configuration is: # equery uses net-libs/libmicrohttpd [ Legend : U - final flag setting for installation] [ : I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for net-libs/libmicrohttpd-0.9.58: U I - - abi_x86_32 : 32-bit (x86) libraries + + epoll : use epoll() system call + + messages : enable error messages + + ssl : Add support for Secure Socket Layer connections - - static-libs : Build static versions of dynamic libraries as well - - test : Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in make.conf/package.use anymore Should I attach anything else?
Thanks for the report. What version are we talking about here? I believe MHD_USE_THREAD_PER_CONNECTION has gone through some changes. Can you test the very latest, 0.9.58? I want to make sure it hasn't been fixed already.
(In reply to Anthony Basile from comment #1) > Thanks for the report. What version are we talking about here? I believe > MHD_USE_THREAD_PER_CONNECTION has gone through some changes. Can you test > the very latest, 0.9.58? I want to make sure it hasn't been fixed already. okay no response.