Evgeny Grin (Karlson2k)
8da7be3b7b
examples: marked non-global variables as 'static'
2022-06-02 09:07:48 +03:00
Evgeny Grin (Karlson2k)
aefa12e99a
src/examples/*fileserver*.c: added error checking
2022-06-01 22:12:38 +03:00
Evgeny Grin (Karlson2k)
93dcf8ea91
src/examples: muted compiler warnings
2022-06-01 22:12:37 +03:00
Evgeny Grin (Karlson2k)
dde8624f97
Updated test TLS certificate in test and examples
...
The new certificate should be a bit more similar to production certs.
2022-04-21 13:40:09 +03:00
Evgeny Grin (Karlson2k)
85775e29a9
src/examples: Fixed drop of 'const' qualifiers and minor fixes.
...
* some minor fixes and improvements.
2022-04-19 20:27:37 +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)
7d5e06ed5f
Updated test certificates
...
Updated TLS test certificates with modern algorithms and correct
alternative names, which is closer to real live scenarios.
Examples programs work with browsers again.
2021-04-11 12:38:48 +03:00
silvioprog
f84bdf0a8c
Sanitized all log and error messages.
2020-05-09 14:11:14 -03:00
Christian Grothoff
de872dea2d
define and use 'enum MHD_Result'
2020-04-08 23:36:41 +02:00
Christian Grothoff
7389c34528
tighten formatting rules
2019-10-31 13:06:08 +01:00
Christian Grothoff
972103dc28
applying uncrustify to ensure uniform indentation
2019-10-17 16:56:41 +02:00
silvioprog
f7ab8b59a3
improve comments, cosmetic
2018-10-09 01:58:33 -03:00
Evgeny Grin (Karlson2k)
6fcf545d8f
https_fileserver_example: removed unused headers, fixed build with
...
libgnutls in non-default path.
2017-11-13 19:23:00 +03:00
Evgeny Grin (Karlson2k)
d1d4e15a97
Stick to C89 standard for a while
2017-10-31 15:20:39 +03: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)
a7b7a32ec6
Dropped dependency on libgcrypt with new GnuTLS (>2.12.20) versions
2017-06-20 23:55:34 +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
Christian Grothoff
ef7fe75ff2
deprecate USE_SSL for USE_TLS, rename in code
2016-10-11 16:09:17 +00:00
Christian Grothoff
d9da87668f
-fclose file, even if fileno failed...
2016-01-18 21:39:09 +00:00
Christian Grothoff
1421e4394f
eliminate stat/fopen race in example
2016-01-18 20:43:27 +00:00
Christian Grothoff
10cf14317c
-bringing copyright tags up to FSF standard
2015-02-07 23:12:45 +00:00
Christian Grothoff
1725bcf3c5
-improvements to docs
2013-05-05 18:01:09 +00:00
Christian Grothoff
43542a78c6
introducing MHD_create_response_from_buffer, deprecating MHD_create_response_from_data
2011-01-04 12:40:03 +00:00
Christian Grothoff
b4abb360a4
use size_t
2010-09-21 13:13:05 +00:00
Christian Grothoff
bdf374b29a
fixing Mantis 1594
2010-07-30 04:53:42 +00:00
Christian Grothoff
58d06b2255
towards using libgnutls directly
2010-07-24 15:24:50 +00:00
Christian Grothoff
ee092d7c12
fix
2010-06-13 09:50:07 +00:00
Christian Grothoff
b6ed288d26
better
2010-06-13 09:06:34 +00:00
Christian Grothoff
0b23a93cb2
better
2010-06-13 09:05:57 +00:00
Christian Grothoff
2ff4a9d580
voidcasts
2010-06-13 08:51:33 +00:00
Christian Grothoff
f710701c82
clean up example code
2010-06-13 08:47:17 +00:00
Nils Durner
3980b784cc
fix the fix
2010-01-20 21:34:10 +00:00
Nils Durner
1b0b8c014d
use untranslated file input mode, important on Windows
2010-01-20 21:07:20 +00:00
Nils Durner
78e52ce15e
don't use the first slash for paths
2010-01-17 22:15:23 +00:00
Christian Grothoff
0a638a4188
fixing bugs as pointed out by Timothy Shaeffer
2009-02-27 01:02:26 +00:00
Christian Grothoff
b90c37b2f3
incompatible API change to allow 64-bit uploads and downloads on 32-bit systems
2009-02-06 06:12:33 +00:00
Christian Grothoff
60ad84521a
fixing comment
2008-10-13 02:03:44 +00:00
Christian Grothoff
705bb243b0
indentation
2008-10-13 02:03:03 +00:00
Christian Grothoff
cfde43ff7d
documenting all enums, functions and structs, removing support for key/cert files
2008-09-12 20:47:06 +00:00
lv-426
04a3265002
some test fixes
...
tls connection teardown upon unrecognized message type
connection state dictionary compiles based on 'enable_messages'
2008-09-08 22:39:05 +00:00