aboutsummaryrefslogtreecommitdiff
path: root/AUTHORS
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-04-09 07:03:26 +0000
committerChristian Grothoff <christian@grothoff.org>2015-04-09 07:03:26 +0000
commit086ba366b757984dc68577aaa6dac7b2d5a7c2ac (patch)
tree4ea4409b43a4c67075657807400af351dc5578c2 /AUTHORS
parent741ca4907942d10defcc6133286e1766665d18c1 (diff)
downloadlibmicrohttpd-086ba366b757984dc68577aaa6dac7b2d5a7c2ac.tar.gz
libmicrohttpd-086ba366b757984dc68577aaa6dac7b2d5a7c2ac.zip
Hi all,
I was trying to use MHD_suspend_connection() and MHD_resume_connection() to implement long polling on a request. I am using options MHD_USE_SELECT_INTERNALLY and MHD_USE_POLL options. I noticed the server thread went to 100% CPU after the first MHD_resume_connection() call. Looking at the code in MHD_poll_all() I can see that the file descriptor from daemon->wpipe[0] gets inserted into the list of file descriptors to poll but this file descriptor is never read so every time this function is called it returns immediately. The code works fine if I drop to using just MHD_USE_SELECT_INTERNALLY. The patch below fixes the problem. Regards, Denis
Diffstat (limited to 'AUTHORS')
-rw-r--r--AUTHORS1
1 files changed, 1 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
index cc11a96f..a441dfa8 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -52,6 +52,7 @@ Sree Harsha Totakura <sreeharsha@totakura.in>
52Hani Benhabiles <kroosec@gmail.com> 52Hani Benhabiles <kroosec@gmail.com>
53Guy Martin <gmsoft@tuxicoman.be> 53Guy Martin <gmsoft@tuxicoman.be>
54Robert Groenenberg <robert.groenenberg@broadforward.com> 54Robert Groenenberg <robert.groenenberg@broadforward.com>
55Denis Dowling <denis.dowling@hsd.com.au>
55 56
56 57
57Documentation contributions also came from: 58Documentation contributions also came from: