Evgeny Grin (Karlson2k)
d14fc3b3d7
MHD_get_timeout*(): improved doxy
2022-04-27 22:24:23 +03:00
Evgeny Grin (Karlson2k)
860aa4e0ed
Added new function MHD_get_timeout64s()
2022-04-27 22:11:55 +03:00
Evgeny Grin (Karlson2k)
7ad7452c19
Added new function MHD_get_timeout64()
...
The same functionally as MHD_get_timeout(), but with standard type uint64_t
2022-04-27 22:11:55 +03:00
Evgeny Grin (Karlson2k)
efdd6e0ffb
MHD_set_panic_func: clarified doxy
2022-04-25 22:50:47 +03:00
Evgeny Grin (Karlson2k)
2d36741148
MHD_get_daemon_info(): fixed unaligned memory access
2022-04-25 16:05:15 +03:00
Evgeny Grin (Karlson2k)
314917828a
MHD_get_connection_info(): Fixed possible unaligned access
...
Also:
* Reduced number of 'MHD_Connection' members.
* Fixed wrong value of returned timeout on some platforms, if timeout
is too large.
2022-04-25 16:05:12 +03:00
Evgeny Grin (Karlson2k)
763db7922a
microhttpd2.h: fixed code style
2022-04-23 15:21:20 +03:00
Evgeny Grin (Karlson2k)
8c87442ffc
Fixed many macros
...
'defined()' should be used without space before bracket
2022-04-23 15:21:20 +03:00
Evgeny Grin (Karlson2k)
33b4a2d997
autoinit_funcs.h: improved formatting
2022-04-23 15:21:19 +03:00
Evgeny Grin (Karlson2k)
f80da0ba6f
autoinit_funcs.h: added functions prototypes
2022-04-23 15:21:18 +03:00
Evgeny Grin (Karlson2k)
81daa705ca
microhttpd.h: minor doxy improvement
2022-04-19 20:27:36 +03:00
Evgeny Grin (Karlson2k)
43cca25d44
Added new API function MHD_create_response_from_buffer_copy()
2022-04-19 20:27:36 +03:00
Evgeny Grin (Karlson2k)
d3ae3c432d
Added new API function MHD_create_response_from_buffer_static()
2022-04-19 18:55:26 +03:00
Evgeny Grin (Karlson2k)
b0a2a0add1
microhttpd.h: removed empty line
2022-04-18 11:18:03 +03:00
Evgeny Grin (Karlson2k)
1c11680120
Added _MHD_EXTERN to the all public functions definitions
...
Previously it was inconsistent, some function definitions used
_MHD_EXTERN, while other definitions was used without _MHD_EXTERN.
2022-04-18 11:18:03 +03:00
Evgeny Grin (Karlson2k)
4ff1024763
refactoring: use 'const' for response buffers
...
The response buffers shouldn't be modifiable.
2022-04-18 11:18:02 +03:00
Rosen Penev
0498e99f7f
use ifdef for several HAVE header macros
...
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2022-04-04 07:49:52 +02:00
Evgeny Grin (Karlson2k)
b452fc4b19
MHD_create_response_empty(): added new function
2022-03-19 13:51:41 +03:00
Evgeny Grin (Karlson2k)
90b00e6f80
Updated doxy for some of the MHD_create_response_*() functions
2022-03-18 11:39:58 +03:00
Evgeny Grin (Karlson2k)
41f35bbcb5
Added MHD_RF_HEAD_ONLY_RESPONSE response flag
...
Useful if application needs to send reply for HEAD request, but creation
of full reply body is costly.
2022-03-17 20:51:30 +03:00
Evgeny Grin (Karlson2k)
c3563144ee
MHD_queue_response(): significantly improved doxy
2022-03-14 21:22:21 +03:00
Evgeny Grin (Karlson2k)
f46f4b75dd
MHD_queue_response(): improved doxy
2022-03-07 21:29:40 +03:00
Evgeny Grin (Karlson2k)
63b63330fb
Updated doxy; explicitly tolerated NULL in MHD_queue*_auth*()
2022-01-27 20:31:05 +03:00
Evgeny Grin (Karlson2k)
fc66711ad5
Moved mhd_panic() and helpers to separate .c/.h files
2022-01-25 19:45:53 +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)
6d67eadb61
Doxy corrections, fixes, and sync
2021-12-29 10:47:14 +03:00
Evgeny Grin (Karlson2k)
983aa85d51
Bump MHD_VERSION to indicate development version
2021-12-28 11:58:50 +03:00
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