Evgeny Grin (Karlson2k)
ec204f59a7
Added support for Solaris-style sendfile
2017-11-07 00:11:57 +03:00
Evgeny Grin (Karlson2k)
73da168180
daemon.c: fixed unneeded extra semicolon
2017-11-06 22:42:58 +03:00
Evgeny Grin (Karlson2k)
7af3ea32d5
connection_https.c: fixed comment
2017-11-03 14:50:43 +03:00
Evgeny Grin (Karlson2k)
5fa4f4e2f0
Fixed received of large data over HTTPS in epoll.
2017-11-03 14:50:42 +03:00
Evgeny Grin (Karlson2k)
ad6ad0ad5b
HTTPS tests: disable 3DES testing on GnuTLS > 3.6.0 since it is disabled
...
by default in GnuTLS
2017-10-31 15:54:39 +03:00
Evgeny Grin (Karlson2k)
d1d4e15a97
Stick to C89 standard for a while
2017-10-31 15:20:39 +03:00
Evgeny Grin (Karlson2k)
424abcd21d
Additional compiler warnings fixes.
2017-10-31 11:19:24 +03:00
Evgeny Grin (Karlson2k)
e7f7710350
Silenced compiler warnings in src/testczzuf.
2017-10-31 11:18:18 +03:00
Evgeny Grin (Karlson2k)
28f723b238
Silenced compiler warnings in src/testcurl/https, minor fixes.
2017-10-30 23:37:44 +03:00
Evgeny Grin (Karlson2k)
dc96775e32
MHD_queue_response(): ignore response, but return OK if daemon is shut down.
...
This will avoid race condition: if daemon is shutting down in parallel,
response may be queued but aborted later.
Therefore, returning "MHD_OK" will unify situation from application
point of view.
2017-10-30 23:37:44 +03:00
Evgeny Grin (Karlson2k)
8da22ca061
Silenced compiler warnings in src/testcurl.
2017-10-30 21:36:27 +03:00
Evgeny Grin (Karlson2k)
80ff0e1596
tests: fixed some 'unused return value' compiler warnings
2017-10-30 18:39:47 +03:00
Evgeny Grin (Karlson2k)
a3e227ea15
https test: fixed too long waiting for empty fdsets
2017-10-30 18:21:51 +03:00
Evgeny Grin (Karlson2k)
d8a32e84af
MHD_stop_daemon(): do not shutdown listen socket before setting shutdown flag
2017-10-30 16:13:39 +03:00
Evgeny Grin (Karlson2k)
21ce9bfad3
Make testsuite compatible with W32 again
2017-10-29 23:36:00 +03:00
Evgeny Grin (Karlson2k)
a4320556aa
daemon.c: refactoring of MHD_stop_daemon() for clarity and readability.
...
Added some asserts.
2017-10-29 22:46:56 +03:00
Evgeny Grin (Karlson2k)
5bdb60b994
daemon.c: refactoring of MHD_start_daemon_va()
...
for clarity and readability.
Some asserts were added.
2017-10-29 21:15:44 +03:00
Evgeny Grin (Karlson2k)
5177e37a41
daemon.c: renamed MHD_select_thread() -> MHD_polling_thread() for clarity
2017-10-29 20:02:57 +03:00
Christian Grothoff
6c4c13ef87
add MHD_free(), actual 'code' and symbol export
2017-10-09 22:43:02 +02:00
Christian Grothoff
3de0ceb242
add MHD_free(), actual 'code'
2017-10-09 22:42:21 +02:00
Christian Grothoff
330a40552c
add MHD_free(), as suggested by Tim on the mailinglist
2017-10-09 22:41:11 +02:00
Christian Grothoff
181ac3c59f
include full method list
2017-10-07 08:23:36 +02:00
Christian Grothoff
934bc1a71f
check return value
2017-10-05 23:29:05 +02:00
Christian Grothoff
f8e92c1eb9
use more c99
2017-10-05 23:25:41 +02:00
Christian Grothoff
1a23dd25c3
misc style improvements, fixing some tiny rare memory leaks in examples
2017-10-05 23:16:19 +02:00
Christian Grothoff
111e08fbe3
fix indentation, use 'true' instead of not 0
2017-10-05 22:24:04 +02:00
Evgeny Grin
41eb046c9c
Implemented usage of readahead buffer for sendfile() on FreeBSD 11 and later
2017-10-02 00:49:34 +03:00
Evgeny Grin
6f64694742
Added support for sendfile() on FreeBSD
2017-10-02 00:49:34 +03:00
Evgeny Grin (Karlson2k)
f2f1d65915
Improved 5ac497e212
2017-10-01 21:38:15 +03:00
Evgeny Grin (Karlson2k)
5cbdec21db
mhd_limits.h: improved macros
2017-10-01 21:26:53 +03:00
Evgeny Grin (Karlson2k)
e127b8a6c4
Added detection for Linux form of sendfile(2)
2017-10-01 18:44:45 +03:00
Evgeny Grin (Karlson2k)
404d4b4472
Fixed 5ac497e212
2017-10-01 17:08:17 +03:00
Evgeny Grin (Karlson2k)
02ff959e7d
sendfile_adapter(): fixed indentation
2017-10-01 17:02:38 +03:00
Evgeny Grin (Karlson2k)
5ac497e212
Sending with sendfile: use chunks so MHD will be able to process other connections too.
2017-10-01 16:21:06 +03:00
Evgeny Grin (Karlson2k)
6c49371c2b
sendfile_adapter(): fixed wrong type of return variable
2017-10-01 14:03:04 +03:00
Evgeny Grin (Karlson2k)
db6a1ba7af
mhd_options.h: better detect compiler optimization option
2017-10-01 13:44:29 +03:00
Evgeny Grin (Karlson2k)
386f371dca
test_start_stop: silent compiler warnings
2017-10-01 13:28:10 +03:00
Evgeny Grin (Karlson2k)
cfddbb9dc7
test_start_stop: moved to src/microhttpd, removed inclusion of libcurl header
2017-10-01 01:09:22 +03:00
Evgeny Grin (Karlson2k)
5b3cd84e62
test_options: really use this test instead of just compiling,
...
moved to src/microhttpd as it does not depend on libcurl
2017-09-30 20:26:31 +03:00
Evgeny Grin (Karlson2k)
adf9e8cec4
test_options: muted compiler warning.
2017-09-30 20:16:52 +03:00
Evgeny Grin (Karlson2k)
e58921377a
resume_suspended_connections(): fixed assert at daemon shutdown.
2017-09-30 19:24:42 +03:00
Evgeny Grin (Karlson2k)
3f5fe81d43
Fixed compiler warnings for tests in src/microhttpd
2017-09-29 22:07:49 +03:00
Evgeny Grin (Karlson2k)
a5b63e992b
Muted compiler warnings in examples.
2017-09-29 22:07:49 +03:00
Evgeny Grin (Karlson2k)
527700a01e
Added ability to compile demos without libmagic,
...
added more accurate check for libmagic in configure.
2017-09-29 22:07:44 +03:00
Evgeny Grin (Karlson2k)
3ddb4e562b
digestauth.c: refined comment
2017-09-29 18:53:43 +03:00
Evgeny Grin (Karlson2k)
27c939adae
mhd_str.c: muted compiler warning
2017-09-28 20:59:49 +03:00
Evgeny Grin (Karlson2k)
fe184efa6c
postprocessor.c: fixed compiler warnings
2017-09-28 20:59:17 +03:00
Evgeny Grin (Karlson2k)
73897ef5a1
digestauth.c: muted compiler warning
2017-09-28 20:50:50 +03:00
Evgeny Grin (Karlson2k)
4e18379e51
daemon.c: muted some compiler warnings, added comments.
2017-09-28 20:50:19 +03:00
Evgeny Grin (Karlson2k)
5fb65271fd
connection.c: muted compiler warnings, replaced some unused checks with asserts.
2017-09-28 20:43:25 +03:00