silvioprog
53674dcdfb
Referenced the gnutls_load_file() function in the HTTPs examples.
2018-12-06 02:13:37 -03:00
silvioprog
f7ab8b59a3
improve comments, cosmetic
2018-10-09 01:58:33 -03:00
silvioprog
30477aab57
Style fixes.
2018-10-09 01:44:50 -03:00
Christian Grothoff
832739556b
some minor code cleaning issues
2018-06-22 15:16:11 +02:00
Christian Grothoff
7021246581
fix memcpy calls with NULL and len 0 (pretty harmless, but causing compiler warnings)
2018-02-22 18:19:02 +01:00
Evgeny Grin (Karlson2k)
424abcd21d
Additional compiler warnings fixes.
2017-10-31 11:19:24 +03:00
Evgeny Grin (Karlson2k)
a5b63e992b
Muted compiler warnings in examples.
2017-09-29 22:07:49 +03:00
Evgeny Grin (Karlson2k)
527700a01e
Added ability to compile demos without libmagic,
...
added more accurate check for libmagic in configure.
2017-09-29 22:07:44 +03:00
Evgeny Grin (Karlson2k)
4b795e9fc6
Added MHD_USE_AUTO and MHD_USE_AUTO_INTERNAL_THREAD to simplify using of MHD by multi-platform applications
2016-11-10 22:18:20 +03:00
Evgeny Grin (Karlson2k)
d5245634c2
Added MHD_USE_ERROR_LOG flag with same value as MHD_USE_DEBUG.
...
New name better explains flag actions.
2016-11-08 19:41:28 +03:00
Evgeny Grin (Karlson2k)
a48ca85fb7
Renamed daemon flags:
...
MHD_USE_SELECT_INTERNALLY -> MHD_USE_INTERNAL_POLLING_THREAD
MHD_USE_POLL_INTERNALLY -> MHD_USE_POLL_INTERNAL_THREAD
MHD_USE_EPOLL_INTERNALLY -> MHD_USE_EPOLL_INTERNAL_THREAD
2016-11-08 00:54:59 +03:00
Christian Grothoff
ef7fe75ff2
deprecate USE_SSL for USE_TLS, rename in code
2016-10-11 16:09:17 +00:00
Evgeny Grin (Karlson2k)
cd030ca9ca
epoll is now supported on non-Linux platforms (namely illumos).
...
Renamed MHD options and updated documentation.
2016-08-24 15:02:16 +00:00
Evgeny Grin (Karlson2k)
9826ad54e0
Refactoring: do not define EPOLL_SUPPORT if epoll is disabled or not supported.
2016-08-24 15:02:10 +00:00
Christian Grothoff
a0f69a6671
-fixes in code clones()
2016-01-18 21:46:56 +00:00
Christian Grothoff
979e499936
-check rval before fstat'ing
2016-01-18 21:41:49 +00:00
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