729 Commits
Author SHA1 Message Date
Evgeny Grin (Karlson2k) 940041ad78 Released GNU libmicrohttpd 0.9.75 2021-12-26 20:35:58 +03:00
Evgeny Grin (Karlson2k) 2f44f1ec65 Bump MHD_VERSION to indicate development build 2021-12-20 19:25:17 +03:00
Evgeny Grin (Karlson2k) a4ae51f581 Released GNU libmicrohttpd 0.9.74 2021-12-19 18:36:21 +03:00
Evgeny Grin (Karlson2k) 969e64040f Updated HTTP headers macros from registry 2021-12-19 15:44:54 +03:00
Evgeny Grin (Karlson2k) 4f01942038 microhttpd.h: minor doxy fixes 2021-12-17 20:54:39 +03:00
Evgeny Grin (Karlson2k) 4f1e02a99e Fixed doxy for MHD_suspend_connection() 2021-12-03 14:00:17 +03:00
Evgeny Grin (Karlson2k) dbf407c26a Fixed MHD_FEATURE_AUTOSUPPRESS_SIGPIPE return value 2021-11-28 19:38:18 +03:00
Evgeny Grin (Karlson2k) 1b435684a7 Clarified termination reasons description
Updated termination reasons reporting.
Make sure that MHD_REQUEST_TERMINATED_READ_ERROR is really reported
Before this patch MHD_REQUEST_TERMINATED_WITH_ERROR was reported instead
2021-11-21 22:06:20 +03:00
Evgeny Grin (Karlson2k) 5cf4c61bb0 microhttpd.h: doxy comments fixes 2021-11-10 12:40:22 +03:00
Evgeny Grin (Karlson2k) 475cfd18d1 Updated doxy for MHD_AccessHandlerCallback 2021-11-09 20:57:02 +03:00
Evgeny Grin (Karlson2k) 7c5b14acec Doxy: finally clarified how to work with callbacks
Clarified doxy descriptions for the key callback AccessHandlerCallback,
MHD_queue_response(), and MHD_suspend_connection()
2021-11-04 16:15:47 +03:00
Evgeny Grin (Karlson2k) 9d142ff1a7 microhttpd.h: fixed code style 2021-10-31 18:21:56 +03:00
Evgeny Grin (Karlson2k) 079dfd2cb8 MHD_get_timeout(): improved doxy 2021-10-31 18:21:33 +03:00
Evgeny Grin (Karlson2k) 22a04edf90 websockets interface: added "experimental" warning 2021-10-31 16:34:49 +03:00
Evgeny Grin (Karlson2k) f44e4bf896 websockets: fixed code style 2021-10-31 16:34:49 +03:00
David Gausmann ddad59c1e3 websocket update
- added API documentation to libmicrohttpd.texi
- added websocket tutorial chapter to libmicrohttpd-tutorial and an much easier example for the tutorial
- added additional helper functions to ease the HTTP websocket handshake
- the code can now be compiled on Linux without errors
- changed sha1.c and sha1.h to the files provided by Evgeny (I replaced those files in src/microhttpd_ws/ with the files from src/microhttpd/ - maybe there is a smarter way...?)
- removed dependency for "htons" and "htonl" (these functions are now implemented in MHD_websocket.c; no need for OS-dependent files anymore)
- added an additional test script for testing of the library with any webbrowser (for manual practice test)
- several bugfixes
- parameters renamed
- special things clarified (fragmentation, RNG for client mode)

The new version of the API is at some points incompatible with the old version, but since it was in an experimental phase and it didn't compile on Linux, I guess this shouldn't bother anyone.
From my point of view, I am now finished with the library and it could go out of experimental.
2021-10-31 16:02:31 +03:00
Evgeny Grin (Karlson2k) da4023db73 Bump MHD_VERSION 2021-10-30 20:20:48 +03:00
Evgeny Grin (Karlson2k) 38a571a908 Improved doxy for MHD_add_response_header() 2021-10-30 17:31:30 +03:00
Evgeny Grin (Karlson2k) 198551d295 microhttpd.h: MHD_ResponseFlags comments
Improved doxy comments MHD_ResponseFlags values
2021-10-30 17:31:30 +03:00
Evgeny Grin (Karlson2k) 104fc2633b microhttpd.h: fixed typo in doxy 2021-10-30 17:31:30 +03:00
Evgeny Grin (Karlson2k) 50b44dcf9e Updated HTTP headers names 2021-10-30 16:49:46 +03:00
Evgeny Grin (Karlson2k) aed886a261 Updated HTTP methods 2021-10-30 16:49:46 +03:00
Evgeny Grin (Karlson2k) 8c644fc1f4 Updated HTTP statuses 2021-10-30 16:49:45 +03:00
Evgeny Grin (Karlson2k) 22300a5257 microhttpd.h: doxy clarifications
"external select" -> "external sockets polling" and related
clarifications
2021-10-29 11:34:28 +03:00
Evgeny Grin (Karlson2k) b5fd82df3f microhttpd.h: cosmetics 2021-10-29 10:19:35 +03:00
Evgeny Grin (Karlson2k) 2e39c6b9de Removed redundant macro 2021-10-29 10:12:08 +03:00
Evgeny Grin (Karlson2k) e2a49611e0 MHD_del_response_header(): documented new behaviors 2021-10-16 12:44:46 +03:00
Evgeny Grin (Karlson2k) 50c9e5efea Added custom memory poisoning for MemoryPool 2021-10-10 21:16:25 +03:00
Evgeny Grin (Karlson2k) c07f446418 microhttpd.h: fixed doxy for MHD_KeyValueIteratorN 2021-09-28 21:06:39 +03:00
Evgeny Grin (Karlson2k) 9ba991c7d9 Improved and fixed doxy for MHD_add_response_header() 2021-09-26 18:34:59 +03:00
Evgeny Grin (Karlson2k) 71e09c24e6 Clarified doxy description of MHD_run_wait() 2021-09-25 19:45:44 +03:00
Evgeny Grin (Karlson2k) fd609acd9e Partial revert "postprocessor: use NULL for 'data' for callback if no value is present"
This reverts commit 1e314fd50a.

The API change postponed until the next MHD version
2021-09-19 18:33:59 +03:00
Evgeny Grin (Karlson2k) 1e314fd50a postprocessor: use NULL for 'data' for callback if no value is present 2021-09-12 19:44:13 +03:00
Evgeny Grin (Karlson2k) 9d7457a50d microhttpd.h: changed macros MHD_CONTENT_READER_*
Macros are used with ssize_t values and described in doxy as "-1" and "-2"
Let's define them as described.
2021-09-07 21:00:34 +03:00
Evgeny Grin (Karlson2k) f66a23d271 Guard stddef.h includes with '#ifdef HAVE_STDDEF_H' 2021-09-01 10:47:40 +03:00
Evgeny Grin (Karlson2k) a64a0ac77e Test for stdlib.h presence 2021-09-01 10:19:16 +03:00
Evgeny Grin (Karlson2k) e42ec8f54d Switched internal timers to milliseconds resolutions.
This is needed to handle connection timeouts precisely.
* Fixed connections expired "just before or after" required timeout
* Fixed busy-waiting with low-resolution system timers when connection is
about to timeout. Now low-resolution timers are handled automatically.
* Added log message if application tries to set ridiculously large timeout
2021-08-30 21:13:54 +03:00
Evgeny Grin (Karlson2k) 3e67830011 microhttpd.h: removed duplicated macro 2021-08-30 17:21:55 +03:00
Evgeny Grin (Karlson2k) 5d35f4f7f9 replies: fixed HTTP/1.0 keep-alive replies
Always send "Connection:" headers when replying with keep-alive HTTP/1.0
2021-08-20 15:42:34 +03:00
Evgeny Grin (Karlson2k) 6f48db46b1 Added response flag to always send "Connection:" header 2021-08-19 20:11:13 +03:00
Evgeny Grin (Karlson2k) dab2db20fd microhttpd.h: moved up MHD_VERSION macro 2021-08-19 16:48:25 +03:00
Evgeny Grin (Karlson2k) a96eaaaa25 Response flags: clarified functionality, added synonymous names
Fixed support for explicitly requested Keep-Alive with
responses with MHD_RF_HTTP_VERSION_1_0_RESPONSE flag
2021-08-19 16:40:11 +03:00
Evgeny Grin (Karlson2k) f5fc702a4d RFC compliance: HTTP/1.1 replies for HTTP/1.0 clients 2021-08-19 14:32:15 +03:00
Evgeny Grin (Karlson2k) 496900010b RFC compliance: use chunked even for non-Keep-Alive HTTP/1.1 clients 2021-08-18 12:52:31 +03:00
Evgeny Grin (Karlson2k) be6faace00 microhttpd.h: minor macro formatting 2021-08-18 12:50:23 +03:00
Christian Grothoff ebd43f0373 -bump version 2021-08-18 11:10:42 +02:00
Christian Grothoff f1f8851cd2 introduce new MHD_CONNECTION_INFO_HTTP_STATUS 2021-08-04 18:58:55 +02:00
Evgeny Grin (Karlson2k) 39eb60df61 response header: more pre-processing, better docs
* Disallow "Transfer-encoding: identity", not allowed by RFC
* Allow only single "Date" header
2021-08-01 15:31:30 +03:00
Evgeny Grin (Karlson2k) 8df85c22f8 Updated some copyrights 2021-07-30 10:58:07 +03:00
Evgeny Grin (Karlson2k) 140f4844bb Added new public API function MHD_get_reason_phrase_len_for() 2021-07-28 11:28:44 +03:00