Commit Graph
213 Commits
Author SHA1 Message Date
Evgeny Grin (Karlson2k) 424abcd21d Additional compiler warnings fixes. 2017-10-31 11:19:24 +03:00
Christian Grothoff 330a40552c add MHD_free(), as suggested by Tim on the mailinglist 2017-10-09 22:41:11 +02:00
Christian Grothoff 1a23dd25c3 misc style improvements, fixing some tiny rare memory leaks in examples 2017-10-05 23:16:19 +02: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) c0168fde50 Fixed build on pthread examples when non-pthread lib used for MHD 2017-08-13 14:16:07 +03:00
Evgeny Grin (Karlson2k) 783c7bd4ed chunked_example.c: cosmetics 2017-07-27 12:21:52 +03:00
Evgeny Grin (Karlson2k) bb1699636b Furthermore extended chunked_example.c to illustrate situation with
parameter provided for content callback.
2017-07-26 15:39:33 +03:00
Evgeny Grin (Karlson2k) 09ccb6f7da chunked_example.c: added pseudo code to complete picture 2017-07-25 12:51:24 +03:00
Evgeny Grin (Karlson2k) 5d497ac699 Updated chunked_example.c 2017-07-25 11:41:46 +03:00
Evgeny Grin (Karlson2k) a7b7a32ec6 Dropped dependency on libgcrypt with new GnuTLS (>2.12.20) versions 2017-06-20 23:55:34 +03:00
Evgeny Grin (Karlson2k) 15dfade0d5 examples/timeout.c: Converted newline chars to Unix format 2017-05-29 15:22:42 +03:00
Evgeny Grin (Karlson2k) 6fe7680386 Do not build upgrade example in upgrade is disabled by configure 2017-05-16 21:43:37 +03:00
Evgeny Grin (Karlson2k) 64b53a4e7c Added more comments for start upgrade callback function. 2017-05-15 20:06:09 +03:00
Evgeny Grin (Karlson2k) 33f121a4f6 Replaced flags MHD_USE_PEDANTIC_CHECKS and MHD_USE_PERMISSIVE_CHECKS by
single option MHD_OPTION_STRICT_FOR_CLIENT.
2017-04-27 22:36:09 +03:00
Christian Grothoff e95ec4874d enforce RFC 7230 no-whitespace in header field name rule if MHD_USE_PEDANTIC_CHECKS is set 2017-04-23 20:07:10 +02:00
Christian Grothoff d14c6aa0f7 style fixes to i18n example 2017-03-21 14:15:52 +01:00
Christian Grothoff 91548850d9 check system call return values in tests 2017-03-10 16:40:27 +01:00
silvioprog dd3da90283 i18n example: re-add useful comments as suggested by Karlson2k 2017-03-01 13:14:27 -03:00
silvioprog bf56a65a0c i18n example has been failed in some SOs, then we decided to make it as an extra dist 2017-02-28 22:36:40 -03:00
silvioprog abb31c0a77 Added i18n example: msgs_i18n.c 2017-02-28 15:51:32 -03:00
Christian Grothoff b3a45b40e0 apply copyright header 2017-02-26 22:46:50 +01:00
Christian Grothoff 3edd4bfa7f update gitignore files 2017-02-26 21:23:43 +01:00
Christian Grothoff b98468404c avoid c99 construct, we do not yet require c99 elsewhere 2017-01-31 13:28:14 +01:00
Evgeny Grin (Karlson2k) 938b9b8dae fileserver_example: used MHD built-in function for sending files, added comments 2016-12-01 17:42:17 +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) 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) df98141b03 Added missing MHD_USE_INTERNAL_POLLING_THREAD in examples. 2016-11-08 19:44:50 +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
Evgeny Grin (Karlson2k) 959d55ec5e Renamed MHD flags. Now all flags are in forms MHD_USE_* or MHD_ALLOW_*. 2016-11-07 17:08:03 +03:00
Christian Grothoff d7392e0882 all flags start with MHD_USE_, rename MHD_ALLOW_UPGRADE to MHD_USE_UPGRADE for consistency 2016-11-04 17:02:56 +01:00
Christian Grothoff ca582a0633 add example for MHD upgrade use 2016-11-04 17:01:25 +01:00
Christian Grothoff ef7fe75ff2 deprecate USE_SSL for USE_TLS, rename in code 2016-10-11 16:09:17 +00:00
Christian Grothoff 011d784f6c add return value checks for a few more system calls in testcases and examples 2016-09-23 14:18:06 +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
Evgeny Grin (Karlson2k) 0d1e59bc6e Added .gitignore 2016-07-28 15:15:52 +00:00
Christian Grothoff a3bfa8a2d6 applying cosmetics patch #4137 2016-01-28 06:06:50 +00:00
Christian Grothoff 9363e91e94 fixing another one of the open/stat clones 2016-01-18 22:14:09 +00:00
Christian Grothoff a0f69a6671 -fixes in code clones() 2016-01-18 21:46:56 +00:00
Christian Grothoff ff4d6dea42 -fclose file, even if fileno failed... 2016-01-18 21:42:33 +00:00
Christian Grothoff 979e499936 -check rval before fstat'ing 2016-01-18 21:41:49 +00:00
Christian Grothoff d9da87668f -fclose file, even if fileno failed... 2016-01-18 21:39:09 +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 9a5dece83e eliminate stat/fopen race in example 2016-01-18 20:45:12 +00:00
Christian Grothoff 1421e4394f eliminate stat/fopen race in example 2016-01-18 20:43:27 +00:00
Christian Grothoff 9be469e2ee use getc() as in demo.c instead of sleep() 2016-01-18 20:37:15 +00:00
Christian Grothoff 24305c50dd free user to clarify API usage 2016-01-18 20:30:54 +00:00
Christian Grothoff cef420ebd7 free pass to clarify API usage 2016-01-18 20:29:38 +00:00