Christian Grothoff
9924fd6aa2
update changelog
2016-10-11 16:10:39 +00:00
Christian Grothoff
ef7fe75ff2
deprecate USE_SSL for USE_TLS, rename in code
2016-10-11 16:09:17 +00:00
Christian Grothoff
a90ba78c01
deprecate USE_SSL for USE_TLS
2016-10-11 16:08:34 +00:00
Evgeny Grin (Karlson2k)
dc5610c14b
Updated ChangeLog and bimped version patchlevel.
2016-10-11 15:21:38 +00:00
Evgeny Grin (Karlson2k)
bc0f1e081d
Change 'pipe'->'ITC' in comments, messages and var names.
2016-10-11 15:21:35 +00:00
Evgeny Grin (Karlson2k)
984e0e964e
Rename 'MHD_USE_PIPE_FOR_SHUTDOWN' -> 'MHD_USE_ITC' to reflect real meaning of option
2016-10-11 15:21:32 +00:00
Evgeny Grin (Karlson2k)
f5631e46aa
Always use ITC in non-blocking mode, save some system calls.
2016-10-11 15:21:29 +00:00
Evgeny Grin (Karlson2k)
a6462a8a94
Renamed 'MHD_make_invalid_pipe_' -> 'MHD_itc_set_invalid_'
2016-10-11 15:21:26 +00:00
Evgeny Grin (Karlson2k)
02ca4cb5de
Renamed 'MHD_INVALID_PIPE_' -> 'MHD_ITC_IS_INVALID_', added 'MHD_ITC_IS_VALID_'
2016-10-11 15:21:23 +00:00
Evgeny Grin (Karlson2k)
f6f92fa688
Renamed 'MHD_pipe_close' -> 'MHD_itc_destroy_'
2016-10-11 15:21:20 +00:00
Evgeny Grin (Karlson2k)
faa231001d
Renamed 'MHD_pipe_drain_' -> 'MHD_itc_clear_'
2016-10-11 15:21:17 +00:00
Evgeny Grin (Karlson2k)
924451b713
Renamed 'MHD_pipe_get_write_fd_' -> 'MHD_itc_r_fd_', 'MHD_pipe_get_write_fd_' -> 'MHD_itc_w_fd_'
...
Doxy added.
2016-10-11 15:21:14 +00:00
Evgeny Grin (Karlson2k)
ee182a0b29
Use MHD_itc_activate_ macro for ITC signaling, move ITC types to separate
...
header.
Separate header allow exclusion of heavy headers in internal.h, which is
included by most source files.
Fixed checking success of write() to eventFD by comparing result to 1.
Fixed error when trying to signal on fully filled ITC (ITC is already in
activated (signaled) state and those conditions are not an error).
EventFD is signaled now by macro, not a function.
2016-10-11 15:21:11 +00:00
Evgeny Grin (Karlson2k)
ec820265a0
Renamed 'MHD_pipe_last_strerror_' -> 'MHD_itc_last_strerror_'
2016-10-11 15:21:07 +00:00
Evgeny Grin (Karlson2k)
fbf5dfc5f4
ITC socketpair: renamed struct member 'fd' -> 'sk'
2016-10-11 15:21:04 +00:00
Evgeny Grin (Karlson2k)
787696975f
Renamed 'MHD_Daemon.wpipe' -> 'MHD_Daemon.itc'
2016-10-11 15:21:02 +00:00
Evgeny Grin (Karlson2k)
c7149d1378
Simplify MHD_itc_init_() macro for eventfd
2016-10-11 15:20:59 +00:00
Evgeny Grin (Karlson2k)
5688db4e34
Renamed 'MHD_pipe_' -> 'MHD_itc_init_'
2016-10-11 15:20:56 +00:00
Evgeny Grin (Karlson2k)
21ffb5e842
Renamed "pipe" to "itc" as it actually more some kind of channel, not always pipe.
...
Used typedef for "itc" type.
2016-10-11 15:20:53 +00:00
Evgeny Grin (Karlson2k)
b6ae5bf9b7
Add 'configure' parameter to control ITC type
2016-10-11 15:20:50 +00:00
Evgeny Grin (Karlson2k)
992b827ada
Use MHD_socket_pair_nblk_ for HTTP Upgrade
2016-10-11 15:20:47 +00:00
Evgeny Grin (Karlson2k)
90e0124b6c
Added socketpair creation in non-blocking mode to save system calls where supported
2016-10-11 15:20:44 +00:00
Evgeny Grin (Karlson2k)
a8948d201b
Refactored mhd_locks.h and mhd_sockets.h: allow usage of macros without
...
aborting of execution.
2016-10-11 15:20:40 +00:00
Evgeny Grin (Karlson2k)
3675d8e5a7
Fixed test_upgrade_ssl.c: missing include for waitpid()
2016-10-10 09:52:05 +00:00
Christian Grothoff
e0c14df575
-fix locking issue
2016-10-09 18:43:27 +00:00
Evgeny Grin (Karlson2k)
48b38bdbbe
Fixed VS builds.
2016-10-06 18:09:34 +00:00
Evgeny Grin (Karlson2k)
f2426d2b0f
Fix using select()/poll() loop when MHD compiled with HTTPS, but upgraded connection is HTTP
2016-10-03 21:13:38 +00:00
Evgeny Grin (Karlson2k)
3118c44d9c
Fix out-of-buffer addressing when 'mhd.socket' is '-1'
2016-10-03 21:13:35 +00:00
Evgeny Grin (Karlson2k)
ebbf25eb5b
daemon.c: fix compiling with new ITC
2016-10-03 14:31:42 +00:00
Christian Grothoff
4f86276385
-update autotools logic to work nicely with the 'GNU libmicohttpd' package name
2016-09-27 18:36:44 +00:00
Evgeny Grin (Karlson2k)
171de1ba88
configure.ac: improve shell compatibility, generate package version components at autoconf time
2016-09-27 14:34:01 +00:00
Evgeny Grin (Karlson2k)
2ed7b460b3
configure.ac: properly initialise package name
2016-09-27 14:33:58 +00:00
Evgeny Grin (Karlson2k)
16f007220d
configure.ac: speedup headers checking by using default includes.
2016-09-27 09:58:47 +00:00
Christian Grothoff
8fa269ccce
test case for #4667 with concurrency
2016-09-26 09:46:47 +00:00
Christian Grothoff
25b2276284
test case fo #4667
2016-09-26 09:45:34 +00:00
Christian Grothoff
7dce0363c4
more select() return value checks in testcases
2016-09-23 14:57:05 +00:00
Christian Grothoff
a0060ee639
-check select() return value
2016-09-23 14:30:36 +00:00
Christian Grothoff
e73f48f6ba
-typo
2016-09-23 14:19:36 +00:00
Christian Grothoff
011d784f6c
add return value checks for a few more system calls in testcases and examples
2016-09-23 14:18:06 +00:00
Christian Grothoff
c63ac7db4e
-check close() return value
2016-09-23 14:06:50 +00:00
Christian Grothoff
c622e75b58
-fix comments
2016-09-22 15:53:50 +00:00
Christian Grothoff
53e25ec3e4
implement #3557
2016-09-22 15:51:57 +00:00
Christian Grothoff
3add309d98
-reduce #ifdef mess in mhd_itc.h
2016-09-22 15:16:37 +00:00
Christian Grothoff
9c1254792c
raising MHD_Pipe API abstraction level in preparation for fixing #3557
2016-09-22 14:33:39 +00:00
Christian Grothoff
df6d586ac2
-ignore
2016-09-22 09:25:48 +00:00
Christian Grothoff
4acefd453f
simplify error handling by baking it into the macros
2016-09-22 09:25:18 +00:00
Evgeny Grin (Karlson2k)
4c25471bfd
If examples are disabled - do not build 'examples' in '/doc' too.
2016-09-21 16:21:02 +00:00
Evgeny Grin (Karlson2k)
0b37868baf
Fixed compiling examples on old compilers.
2016-09-21 16:18:00 +00:00
Evgeny Grin (Karlson2k)
a6458cd3a9
HTTP Upgrade: portability corrections
2016-09-14 18:51:12 +00:00
Evgeny Grin (Karlson2k)
d47eb38bf6
HTTP Upgrade: Guard epoll functions
2016-09-14 18:51:09 +00:00