[libmicrohttpd] Semantics of MHD_run_from_select

2017-09-03 Thread Martin Steuer
Hi, What is the expected semantics of calling MHD_run_from_select with a MHD configured to use epoll in combination with an application side event loop? I am diagnosing a problem with systemd-journal-remote which utilizes MHD to receive journal entries from remote hosts. Currently, when tran

Re: [libmicrohttpd] Semantics of MHD_run_from_select

2017-09-07 Thread Martin Steuer
Thanks Evgeny, I verified the results from MHD_get_timeout and they correctly indicate not to wait. I will have a look if systemd's code can be adapted to use this. Martin

Re: [libmicrohttpd] Semantics of MHD_run_from_select

2017-09-09 Thread Martin Steuer
Thanks, your solution works fine. I will report to systemd and reference this thread, might take a few days until I have time. Martin

Re: [libmicrohttpd] Semantics of MHD_run_from_select

2017-10-27 Thread Martin Steuer
Hi Evgeny, After a lot of delay I reported the problem to systemd with your suggested solution [1]. However now I noticed that for SSL connections the initial problem still persisted. I see that under this condition MHD_get_timeout always returns MHD_NO. Do you have an idea why this might hap