Commit Graph
27 Commits
Author SHA1 Message Date
Evgeny Grin (Karlson2k) 8da7be3b7b examples: marked non-global variables as 'static' 2022-06-02 09:07:48 +03:00
Evgeny Grin (Karlson2k) 0e829bf21b src/examples/benchmark{,_https}: simplified time calculation 2022-06-01 22:12:38 +03:00
Evgeny Grin (Karlson2k) 93dcf8ea91 src/examples: muted compiler warnings 2022-06-01 22:12:37 +03:00
Evgeny Grin (Karlson2k) d1c74589fb src/examples: fixed printf format specifiers 2022-04-23 15:25:50 +03:00
Evgeny Grin (Karlson2k) dde8624f97 Updated test TLS certificate in test and examples
The new certificate should be a bit more similar to production certs.
2022-04-21 13:40:09 +03:00
Evgeny Grin (Karlson2k) 85775e29a9 src/examples: Fixed drop of 'const' qualifiers and minor fixes.
* some minor fixes and improvements.
2022-04-19 20:27:37 +03:00
Evgeny Grin (Karlson2k) bd41946e8f Renamed 'con_cls' -> 'req_cls' for access handler callback
The argument is actually request-specific, not connection specific. The
name was confusing.
Fixed related documentation and clarified usage.

Also fixed code where argument named 'unused' was actually used.
2022-01-18 15:18:40 +03:00
Evgeny Grin (Karlson2k) acc4cc29ed Cosmetics: fixed formatting for 'examples' 2021-09-17 11:54:58 +03:00
Evgeny Grin (Karlson2k) bf1993237a Use type specifiers for printf() from inttypes.h
This should improve compatibility with various C libs.
2021-09-17 11:53:55 +03:00
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 de872dea2d define and use 'enum MHD_Result' 2020-04-08 23:36:41 +02: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
silvioprog 53674dcdfb Referenced the gnutls_load_file() function in the HTTPs examples. 2018-12-06 02:13:37 -03:00
silvioprog 30477aab57 Style fixes. 2018-10-09 01:44:50 -03:00
Evgeny Grin (Karlson2k) a5b63e992b Muted compiler warnings in examples. 2017-09-29 22:07:49 +03:00
Evgeny Grin (Karlson2k) e067df9397 One more flag renamed: MHD_USE_EPOLL_TURBO -> MHD_USE_TURBO.
Hopefully last one for now.
2016-11-10 17:42: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 10cf14317c -bringing copyright tags up to FSF standard 2015-02-07 23:12:45 +00:00
Evgeny Grin (Karlson2k) 20699d328b Use number of CPUs in tests and examples 2014-03-06 13:22:35 +00:00
Christian Grothoff 27171ab944 -nicer for HTTPS 2013-07-20 10:49:09 +00:00
Christian Grothoff a559950eb8 -fix combining HTTPS and EPOLL 2013-07-20 10:36:26 +00:00
Christian Grothoff edb0845e35 -adding HTTPS version of benchmark 2013-07-20 10:13:45 +00:00