Evgeny Grin (Karlson2k)
54def24e97
Releasing GNU libmicrohttpd 0.9.53
v0.9.53
2017-04-11 22:18:10 +03:00
Evgeny Grin (Karlson2k)
7fcab91f25
Added VS2017 project files to tarball
2017-04-11 21:54:22 +03:00
Evgeny Grin (Karlson2k)
e51f5cd645
Updated more M4 autoconf macros
2017-04-11 21:38:56 +03:00
Christian Grothoff
df295571f2
clarify comment
2017-04-11 20:37:43 +02:00
Evgeny Grin (Karlson2k)
443d072f39
test_get_response_cleanup: ignore SIGPIPE on Solaris
2017-04-10 23:43:59 +03:00
Evgeny Grin (Karlson2k)
b70a0b2b66
Cosmetic fixes
2017-04-10 20:55:12 +03:00
Evgeny Grin (Karlson2k)
fea6bf18a1
HTTPS test fixes and improvements:
...
always skip tests if libcurl do not support HTTPS (instead of failing)
return 99 in case of global errors (MHD-unrelated)
print error result if test if failed
fixed ignored result of epoll test in test_https_get_select
allow compilation by C89 compiler
2017-04-10 20:00:02 +03:00
Evgeny Grin (Karlson2k)
ab406a9e6a
configure: better test for "-Werror=attributes"
2017-04-10 18:39:47 +03:00
Evgeny Grin (Karlson2k)
4a4e93fb5a
Fixed compatibility with platforms without poll()
2017-04-10 18:03:11 +03:00
Evgeny Grin (Karlson2k)
830433ddd6
Updated M4 autoconf-archive macros to latest versions
2017-04-10 00:42:50 +03:00
Evgeny Grin (Karlson2k)
ed2171b2d0
configure: use libgcrypt CPPFLAGS and LDFLAGS for building with GnuTLS if they are used in configure
2017-04-10 00:23:28 +03:00
Evgeny Grin (Karlson2k)
6c2c0f57e4
configure: fixed detection of "pthread_np.h" on OpenBSD
2017-04-09 20:38:27 +03:00
Evgeny Grin (Karlson2k)
9d9a9a3f00
HTTPS tests: improved compatibility with some platforms/libcurl versions
2017-04-09 18:08:05 +03:00
Evgeny Grin (Karlson2k)
902432c452
mhd_sockets.c: Fixed compiler warning
2017-04-06 23:09:56 +03:00
Evgeny Grin (Karlson2k)
0bf9a2285e
zzuf tests: make compatible with *BSD by replacing obsoleted setpgrp() with setpgid().
2017-04-06 23:03:19 +03:00
Evgeny Grin (Karlson2k)
58274f943d
Used "127.0.0.1" instead of "localhost" in all tests to avoid accidental try by IPv6
2017-04-06 22:17:04 +03:00
Evgeny Grin (Karlson2k)
8851d88e40
Fixed hypothetical situation when timeout could be larger than possible to measure.
...
Fixed detecting real closest timeout deadline when value wraps upper limit.
Fixed compiler warnings.
2017-04-05 23:21:59 +03:00
Evgeny Grin (Karlson2k)
076cbfbe0b
daemon.c: Removed useless extra ";"
2017-04-05 18:58:57 +03:00
Evgeny Grin (Karlson2k)
3ed1305167
Updated autoinit_funcs.h to latest upstream version with proper support of Oracle/Sun compiler.
2017-04-05 14:18:58 +03:00
Evgeny Grin (Karlson2k)
0f30ecc819
Fixed wrong macro name in 218694a400
2017-04-05 13:05:12 +03:00
Evgeny Grin (Karlson2k)
218694a400
Converted many 'strlen()' from run-time to compile-time processing
2017-04-05 12:56:40 +03:00
Evgeny Grin (Karlson2k)
6ac4608cd8
digestauth.c: fixed snprintf() error detection, used calloc instead of malloc (security).
2017-04-05 11:40:59 +03:00
Evgeny Grin (Karlson2k)
e30143507e
Fixed some compiler warnings
2017-04-05 11:33:33 +03:00
Evgeny Grin (Karlson2k)
c02d8f0332
ChangeLog: added missing entries.
2017-03-30 19:13:54 +03:00
Christian Grothoff
63721c720a
must pass size_t to default_handler
2017-03-29 14:13:34 +02:00
Christian Grothoff
3c2727fcea
add document encoding hint
2017-03-29 14:09:06 +02:00
Evgeny Grin (Karlson2k)
325ddd08f4
Simplified VS projects files
2017-03-27 16:05:25 +03:00
Evgeny Grin (Karlson2k)
8fa8f78307
Added VS2017 project files
2017-03-27 15:28:36 +03:00
Evgeny Grin (Karlson2k)
9a18334bb6
Fixed non-TLS builds after 7b0d92902c
2017-03-27 15:28:14 +03:00
Evgeny Grin (Karlson2k)
6d1ae16af9
MHD_start_daemon(): fixed c/p error resulted in nonfunctional SO_EXCLBIND on Solaris
2017-03-26 22:45:12 +03:00
Evgeny Grin (Karlson2k)
d54da541b4
configure: improved detection and usage of 'librt'
2017-03-26 22:22:38 +03:00
Evgeny Grin (Karlson2k)
25d381f4c0
Fixed MHD_quiesce_daemon() after 7b0d92902c
2017-03-26 22:22:34 +03:00
Evgeny Grin (Karlson2k)
6f6a4e220b
MHD_start_daemon(): obey MHD_USE_ITC in thread pool mode
2017-03-26 13:52:13 +03:00
Evgeny Grin (Karlson2k)
7b0d92902c
MHD_start_daemon(): removed initialisation of ITC for master daemon in thread pool mode
...
as global ITC is not monitored.
Fixed gnutls priorities deinitialization if ITC failed
2017-03-26 13:45:05 +03:00
Evgeny Grin (Karlson2k)
c14c7bb6f1
MHD_select(): Removed bogus extra check
2017-03-26 13:45:05 +03:00
Evgeny Grin (Karlson2k)
8cdcc7806b
Streamlined internal usage of MHD_USE_ITC flag.
2017-03-26 13:45:04 +03:00
Evgeny Grin (Karlson2k)
b5bfa6ee2c
Simplification: move external loop specific code from internal_run_from_select() to
...
MHD_run_from_select().
2017-03-26 13:45:04 +03:00
Evgeny Grin (Karlson2k)
ab04f53b95
Simplified checks for allowed suspend, fixed false positive for daemons with MHD_USE_ITC
2017-03-26 13:45:04 +03:00
Evgeny Grin (Karlson2k)
ad75fbc085
MHD_start_daemon_va(): unify 'flags' and 'daemon->options' usage
2017-03-26 13:45:04 +03:00
Christian Grothoff
11fc9224bd
remove dead code converting hex number to size_t
2017-03-25 20:59:16 +01:00
Christian Grothoff
b8e9408180
do not fail if MHD_OPTION_THREAD_POOL_SIZE is specified as 0 or 1 in combination with internal polling, that's OK (as a pool size of 0/1 means no pool)
2017-03-25 20:55:33 +01:00
Christian Grothoff
bf7418b3d9
fix #4967
2017-03-25 20:55:32 +01:00
Evgeny Grin (Karlson2k)
8d9065a077
MHD_start_daemon(): check for invalid combination of MHD_USE_NO_LISTEN_SOCKET and
...
MHD_OPTION_LISTEN_SOCKET
2017-03-25 21:01:13 +03:00
Evgeny Grin (Karlson2k)
0571f7bf52
Check for invalid combinations of MHD_OPTION_THREAD_POOL_SIZE and daemon flags.
2017-03-24 15:44:27 +03:00
Evgeny Grin (Karlson2k)
65e7a45faa
Ignore "1" and "0" as thread pool sizes, do not create thread pools and warn user.
2017-03-24 15:33:58 +03:00
Evgeny Grin (Karlson2k)
efa08edf97
Do not fail on full read buffer if connection was resumed too quick after suspend
2017-03-23 15:38:29 +03:00
Christian Grothoff
931a023922
use static, parens
2017-03-23 09:25:33 +01:00
Evgeny Grin (Karlson2k)
cdcc0126c6
Revert commit 0bc2fe6fe7.
...
Connection moved to the end of timeout list in resume_suspended_connections(),
moreover suspended connections are not in DL-list (XDLL_remove may break something) and
timeout DL-list is not maintained in thread-per-connection mode
No need to use 'just_resumed': if connection is suspended again in first DH function,
MHD_connection_update_event_loop_info will be called with 'suspended' flag set.
2017-03-22 23:15:34 +03:00
Evgeny Grin (Karlson2k)
7e1123665e
Fixed docs as suggested by Vitaliy T
2017-03-22 23:01:06 +03:00
Evgeny Grin (Karlson2k)
9b2ca1e6e5
mhd_shutdown_socket_trigger.m4: used more reliable method if gettimeofday() is not available.
...
Fixed interpretation of very short time periods.
2017-03-22 00:07:36 +03:00