Evgeny Grin (Karlson2k)
7d5e06ed5f
Updated test certificates
...
Updated TLS test certificates with modern algorithms and correct
alternative names, which is closer to real live scenarios.
Examples programs work with browsers again.
2021-04-11 12:38:48 +03:00
Evgeny Grin (Karlson2k)
8cb26daea6
Fixed conflict with system CPU_COUNT macro
2020-10-25 22:52:53 +03:00
Christian Grothoff
beb7fa828c
fix transmission stall issue with upgraded TLS connections reported by Nguyen Xuan Viet on the mailinglist
2020-09-27 22:12:13 +02:00
silvioprog
f84bdf0a8c
Sanitized all log and error messages.
2020-05-09 14:11:14 -03:00
Christian Grothoff
89d2ef9732
define and use 'enum MHD_Result' (merge)
2020-04-08 23:38:07 +02:00
Christian Grothoff
de872dea2d
define and use 'enum MHD_Result'
2020-04-08 23:36:41 +02:00
silvioprog
bcffdf809f
Applied several spelling fixes. ( #6142 )
2020-03-31 15:08:34 -03:00
Christian Grothoff
7389c34528
tighten formatting rules
2019-10-31 13:06:08 +01:00
Christian Grothoff
972103dc28
applying uncrustify to ensure uniform indentation
2019-10-17 16:56:41 +02:00
Evgeny Grin (Karlson2k)
2a0871b731
Fixed build from source on GNU Hurd
2019-05-15 14:57:50 +03:00
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