Commit Graph
2 Commits
Author SHA1 Message Date
Christian Grothoff 91e7665945 avoid stat/open race, and actually check for regular file (in demo) 2016-01-18 20:48:52 +00:00
Christian Grothoff 10a27715a5 Adding "testcase" (demo_https) and a fix. -CG
Hi,

I am doing test with HTTPS at low bit rate for large files using:
wget -v --no-check-certificate --limit-rate=1000 https://....

When the MHD daemon is configured with MHD_USE_EPOLL_INTERNALLY_LINUX_ONLY, I noticed that the thread takes 100% CPU, whereas
the MHD_USE_POLL_INTERNALLY configuration show a normal CPU usage.

Adding logs I see that the busy loops takes place at daemon.c, line 2605 (0.9.38):
daemon->eready_tail never gets NULL most probably due to connection.c, line 2671 to 2721

Thanks,

Louis
2015-04-12 19:52:29 +00:00