Christian Grothoff
c061d50ad2
releasing 0.9.52
v0.9.52
2016-10-17 19:13:52 +02:00
Evgeny Grin (Karlson2k)
0724b181bd
Simplify portability by using MHD_recv_() wrapper macro
2016-10-17 17:22:31 +03:00
Evgeny Grin (Karlson2k)
fa6909d5e1
Simplify portability by using MHD_send_() wrapper macro
2016-10-17 17:22:30 +03:00
Evgeny Grin (Karlson2k)
554018347f
Fixed incorrect recv() flag
2016-10-17 17:22:30 +03:00
Christian Grothoff
d9312296fd
fix more clang warnigns
2016-10-17 16:00:12 +02:00
Christian Grothoff
9b7bc3d8bd
fix clang warnings
2016-10-17 15:49:22 +02:00
Christian Grothoff
79309bb602
removing dead semaphore logic
2016-10-17 15:37:16 +02:00
Christian Grothoff
71f2285bff
implement early thread-termination for upgraded HTTP connections logic
2016-10-17 15:34:42 +02:00
Christian Grothoff
dc9b5154ae
add test logic to check that callbacks are invoked properly (and from the right thread), fix when callbacks are invoked where issues exist
2016-10-17 14:38:38 +02:00
Christian Grothoff
9b4146730b
do not call notify closed twice
2016-10-17 14:07:24 +02:00
Christian Grothoff
e3aee92d56
get test_upgrade_ssl to pass again
2016-10-17 13:50:27 +02:00
Christian Grothoff
599561d60c
fix test_ugprade test, who put the && instead of & all over the place...
2016-10-17 10:43:20 +02:00
Christian Grothoff
71806e71a6
remove bogus NULL check (this function must never be called with a NULL argument), rename as it is not static
2016-10-17 10:21:40 +02:00
Christian Grothoff
36d3808c1e
clean up leftovers in upgrade documentation
2016-10-17 10:16:42 +02:00
Evgeny Grin (Karlson2k)
22a5fb5239
upgrade: fixed double-free, fixed use-after-free
2016-10-17 01:24:16 +03:00
Christian Grothoff
5b2a9f1cbd
improve upgrade documentation to clarify what the application can or cannot do on the socket
2016-10-16 15:06:43 +02:00
Evgeny Grin (Karlson2k)
513f49394e
MHD_cleanup_connections(): reduce time of lock
2016-10-14 17:47:21 +03:00
Evgeny Grin (Karlson2k)
a90099030e
Remove leftover "linux only" on epoll fd.
2016-10-14 16:54:23 +03:00
Evgeny Grin (Karlson2k)
56cccc6da2
epoll FD is not MHD_socket type, adjust and unify usage
2016-10-14 16:50:18 +03:00
Evgeny Grin (Karlson2k)
947ab9361f
Simplified .gitignore
2016-10-13 13:34:36 +03:00
Evgeny Grin (Karlson2k)
85e5e38ea6
Always use 'struct' for ITC.
...
Help to detect accidental incorrect usage.
2016-10-13 13:14:58 +03:00
Christian Grothoff
06867e0f11
do not deprecate so quickly, otherwise we get compilation issues
2016-10-12 22:25:52 +02:00
Christian Grothoff
d2a7648847
add more generated files to be ignored by Git
2016-10-12 18:31:08 +02:00
Christian Grothoff
b64ee71fd5
eliminating dead base64_chars array
2016-10-12 17:57:33 +02:00
Christian Grothoff
8424c8fb20
update README to reflect that Upgrade is now supported
2016-10-12 14:45:54 +02:00
Christian Grothoff
1218e0e1f0
migrating to Git
2016-10-12 14:32:47 +02:00
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