Commit Graph
290 Commits
Author SHA1 Message Date
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) 8eb8e558f0 Dropped non-functional Symbian support. 2017-06-14 21:46:12 +03:00
Marcello Stanisci 9733f301ca typo 2017-06-14 10:43:01 +02:00
Evgeny Grin (Karlson2k) 8a88bc9335 microhttpd.h: deprecate unused MHD_RESPONSE_HEADER_KIND value 2017-05-06 22:02:30 +03:00
Christian Grothoff 76cf7d7f58 documentation, adding MHD_CONNECTION_INFO_REQUEST_HEADER_SIZE, releasing 0.9.54 2017-05-02 18:53:50 +02:00
Christian Grothoff b57456c2e6 relax space-in-field-name checks only if new MHD_USE_PERMISSIVE_CHECKS flag is set 2017-04-24 17:30:26 +02:00
Christian Grothoff 3c2727fcea add document encoding hint 2017-03-29 14:09:06 +02:00
Evgeny Grin (Karlson2k) 7e1123665e Fixed docs as suggested by Vitaliy T 2017-03-22 23:01:06 +03:00
Christian Grothoff 6b03d68f07 document MHD_CONNECTION_INFO_CONNECTION_TIMEOUT in manual 2017-03-21 14:15:52 +01:00
Christian Grothoff 222acd1c5a clarify when it is ok to call MHD_get_fdset in documentation, document MHD_get_fdset2() 2017-03-21 14:15:52 +01:00
Christian Grothoff 59268ccff1 Still there is an issue with re-open a file. Patch applied below to
avoid it.

Also iterate_post() always returns MHD_OK, because the app's logic
driven
from the value of con_info->answercode().
And in case if fwrite() fails we also update the answer code & page  and
MHD_post_process() overwrite them (fileioerror becomes postprocerror).
2017-03-14 02:41:50 +01:00
Christian Grothoff 740a46dd36 fix largepost example, must only queue replies either before upload happens or after upload is done, not while upload is ongoing 2017-03-11 12:07:38 +01:00
Karlson2k f9f8d0c54d Updated documentation. 2016-11-23 17:44:38 +03:00
Evgeny Grin (Karlson2k) bc83858f65 Updated documentation about MHD_OPTION_LISTENING_ADDRESS_REUSE 2016-11-14 22:35:26 +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) 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) c39f9bfb26 Specify that flag MHD_USE_INTERNAL_POLLING_THREAD is mandatory if MHD_USE_THREAD_PER_CONNECTION is used 2016-11-08 01:00:00 +03:00
Evgeny Grin (Karlson2k) bae7dc05a8 Fixed wrong flag name in documentation. 2016-11-08 01:00:00 +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 43227e1b18 update manual in line with commit cbd9376691 2016-11-04 16:26:09 +01:00
Christian Grothoff 9b7bc3d8bd fix clang warnings 2016-10-17 15:49:22 +02:00
Christian Grothoff 5b2a9f1cbd improve upgrade documentation to clarify what the application can or cannot do on the socket 2016-10-16 15:06:43 +02:00
Evgeny Grin (Karlson2k) a90099030e Remove leftover "linux only" on epoll fd. 2016-10-14 16:54:23 +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) bc0f1e081d Change 'pipe'->'ITC' in comments, messages and var names. 2016-10-11 15:21:35 +00:00
Evgeny Grin (Karlson2k) 984e0e964e Rename 'MHD_USE_PIPE_FOR_SHUTDOWN' -> 'MHD_USE_ITC' to reflect real meaning of option 2016-10-11 15:21:32 +00:00
Evgeny Grin (Karlson2k) 4c25471bfd If examples are disabled - do not build 'examples' in '/doc' too. 2016-09-21 16:21:02 +00:00
Evgeny Grin (Karlson2k) 0b37868baf Fixed compiling examples on old compilers. 2016-09-21 16:18:00 +00:00
Christian Grothoff c073888899 -add back Martin's fix, he was right 2016-09-06 19:31:25 +00:00
Christian Grothoff 58b3056ca8 -document better how to use MHD_resume_connection() with external event loop 2016-09-04 15:51:15 +00:00
Christian Grothoff b32f9a0e3d -fixing minor issues (leaks, use after free) in recently added upgrade logic 2016-09-04 12:35:46 +00:00
Christian Grothoff bc616b31c7 update manual 2016-09-04 10:47:22 +00:00
Christian Grothoff b6ac5b9f8e -theoretically finishing epoll() + HTTPS-based connection upgrade logic 2016-08-28 23:09:44 +00:00
Christian Grothoff 11171dc8c5 documenting upgrade API in manual 2016-08-27 19:31:32 +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
Christian Grothoff c42da981f4 -nicer indentation 2016-08-24 12:36:32 +00:00
Christian Grothoff e1257548da fixing crash bug, connection-limit bug and documenting connection-limit behavior better 2016-08-15 11:13:50 +00:00
Evgeny Grin (Karlson2k) 0d1e59bc6e Added .gitignore 2016-07-28 15:15:52 +00:00
Christian Grothoff 39f06e27b7 fix FIXME in tutorial 2016-07-08 19:35:27 +00:00
Christian Grothoff 8a4e48c6f4 add MHD_CONNECTION_INFO_CONNECTION_SUSPENDED 2016-05-17 11:37:54 +00:00
Christian Grothoff 84ec6a79ca adding logic to do 'fast' calls to read/write on a single connection without going back to the main event loop to help FE with his performance issue 2016-05-02 04:13:06 +00:00
Christian Grothoff cc803ec8c2 clarifications to manual re: [libmicrohttpd] MHD_ContentReaderCallback and Byte serving 2016-04-30 08:24:42 +00:00
Evgeny Grin (Karlson2k) dc1eb9a9d7 largepost.c: corrected const pointer to const char 2016-04-11 14:52:17 +00:00
Evgeny Grin (Karlson2k) d4d4393a16 Added check result of MHD_post_process() in largepost.c 2016-04-11 14:08:30 +00:00
Evgeny Grin (Karlson2k) 2cf1ffafba largepost.c: fixed compiling by VS 2016-04-11 14:08:18 +00:00