Evgeny Grin (Karlson2k)
47d6cbdfe8
examples/sessions.c: improved safety
2023-05-22 15:52:59 +03:00
Evgeny Grin (Karlson2k)
89b7c8436e
examples/sessions.c: removed non-portable function
2023-05-22 15:52:58 +03:00
Evgeny Grin (Karlson2k)
755dda4e0f
examples/largepost.c: fixed code style
2023-05-22 15:52:58 +03:00
Evgeny Grin (Karlson2k)
d1882a8723
examples/largepost.c: fixed caseless method match
2023-05-22 15:52:57 +03:00
Evgeny Grin (Karlson2k)
0da40e2a2c
Fixed compiler warning in examples
2023-03-01 17:27:36 +03:00
Evgeny Grin (Karlson2k)
87ab1ec7f7
test and examples: check socket control functions results
2021-11-21 15:43:19 +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)
0497e9c801
tlsauthentication.c: better fix for compiler warning
2021-08-25 20:22:57 +03:00
Evgeny Grin (Karlson2k)
40501c2f5d
tlsauthentication.c: inelegant mute of compiler warning
2021-08-25 19:55:06 +03:00
Evgeny Grin (Karlson2k)
72e1143ce7
Fixed build with --disable-bauth
2020-12-27 18:09:43 +03:00
Evgeny Grin (Karlson2k)
f53db2892e
Muted compiler warnings
2020-12-27 17:35:49 +03:00
silvioprog
6c53cad4ec
Fixed examples using 'enum MHD_Result'.
2020-07-25 00:07:43 -03:00
silvioprog
f84bdf0a8c
Sanitized all log and error messages.
2020-05-09 14:11:14 -03:00
Christian Grothoff
89d2ef9732
define and use 'enum MHD_Result' (merge)
2020-04-08 23:38:07 +02:00
Christian Grothoff
de872dea2d
define and use 'enum MHD_Result'
2020-04-08 23:36:41 +02:00
silvioprog
bcffdf809f
Applied several spelling fixes. ( #6142 )
2020-03-31 15:08:34 -03:00
Evgeny Grin (Karlson2k)
8aa7d23219
Partial revert of 1b610e5b13.
...
Implemented new functions for key and value with binary zero.
Significantly speedup search for key by using key size.
2019-05-01 22:12:24 +03:00
Christian Grothoff
1b610e5b13
allow binary zero in unescaped GET arguments (see mailinglist)
2019-03-20 10:46:21 +01:00
Christian Grothoff
832739556b
some minor code cleaning issues
2018-06-22 15:16:11 +02:00
Christian Grothoff
f6c647f638
make checkers happier by reducing use of strcpy and strcat
2018-02-22 18:35:08 +01: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
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
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)
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
Christian Grothoff
9b7bc3d8bd
fix clang warnings
2016-10-17 15:49:22 +02:00
Christian Grothoff
ef7fe75ff2
deprecate USE_SSL for USE_TLS, rename in code
2016-10-11 16:09:17 +00:00
Evgeny Grin (Karlson2k)
0b37868baf
Fixed compiling examples on old compilers.
2016-09-21 16:18:00 +00:00
Christian Grothoff
c42da981f4
-nicer indentation
2016-08-24 12:36:32 +00:00
Evgeny Grin (Karlson2k)
0d1e59bc6e
Added .gitignore
2016-07-28 15:15:52 +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
Evgeny Grin (Karlson2k)
9c113d780a
simplepost.c: fixed compiling with VS before 2015
2016-04-11 14:08:15 +00:00
Christian Grothoff
d3b17d3b19
-Fabian Mewes:
...
Fix the out-of-bound read of the NUL byte using strlen() in
microhttpd/daemon.c:MHD_init_daemon_certificate()
Fix the out-of-bound read of the NUL byte using strlen() in
microhttpd/daemon.c:MHD_init_daemon_certificate()
2016-02-29 12:27:57 +00:00
Christian Grothoff
26a19e6787
cleaning up largepost
2015-12-11 22:29:46 +00:00
Evgeny Grin (Karlson2k)
90341c2782
examples/sessions.c: small fix
2015-12-04 11:12:09 +00:00
Christian Grothoff
07b65da99f
fix #3909 with patch as suggested
2015-07-25 13:55:29 +00:00
Christian Grothoff
3800d3820b
-modernize example
2015-07-15 12:58:56 +00:00
Christian Grothoff
4f9c53c222
-fix compiler warnings
2015-06-12 07:45:50 +00:00
Christian Grothoff
a12c532cba
-bringing copyright tags up to FSF standard
2015-02-07 23:20:06 +00:00
Evgeny Grin (Karlson2k)
41e5c4888a
Remove PlibC from autotools files
2014-02-18 18:40:50 +00:00
Christian Grothoff
e657e19644
Karlson2k: fix AM_CPPFLAGS vs AM_CFLAGS usage
2014-02-18 07:09:20 +00:00
LRN
d7a2fdc595
Don't redefine asprintf for MinGW-w64
2013-08-11 10:30:52 +00:00
Christian Grothoff
22941cd1b6
-fix reactivating plibc
2013-08-07 22:05:53 +00:00
Christian Grothoff
4251a1cd97
Part 1 of 2 - Remove PlibC from autotools files.
2013-08-07 06:22:16 +00:00