Evgeny Grin (Karlson2k)
|
b3e48b5090
|
Fixed compiler warnings, updated ChangeLog.
|
2017-03-16 17:04:08 +03:00 |
|
Evgeny Grin (Karlson2k)
|
3f9f4d8b53
|
test_upgrade: fixed test with 'auto' flags
|
2017-03-16 15:23:32 +03:00 |
|
Evgeny Grin (Karlson2k)
|
77bc810355
|
Added MHD_DAEMON_INFO_FLAGS to get daemon's flags by MHD_get_daemon_info()
|
2017-03-16 14:55:53 +03:00 |
|
Evgeny Grin (Karlson2k)
|
6bd7866d21
|
union MHD_DaemonInfo: added epoll_fd to clearly use with epoll FD
|
2017-03-16 13:39:31 +03:00 |
|
Evgeny Grin (Karlson2k)
|
de8217492b
|
MHD_connection_handle_idle(): fixed missing bracket
|
2017-03-16 00:26:22 +03:00 |
|
Evgeny Grin (Karlson2k)
|
4f9c0097f1
|
Added missing EPOLLPRI in MHD_connection_epoll_update_()
|
2017-03-16 00:21:11 +03:00 |
|
Evgeny Grin (Karlson2k)
|
875e27c51b
|
MHD_run_from_select(): removed ability to run epoll
fd_sets don not provide any useful information for epoll, so MHD_run() should be used
for epoll-based daemons.
|
2017-03-15 23:36:27 +03:00 |
|
Evgeny Grin (Karlson2k)
|
681000855a
|
MHD_connection_handle_idle(): better handle suspended connections,
prevent suspended connection closure by timeout.
|
2017-03-15 23:22:44 +03:00 |
|
Evgeny Grin (Karlson2k)
|
0934cb436b
|
MHD_connection_handle_idle(): one more missing reset of 'connection->in_idle'
|
2017-03-15 23:01:08 +03:00 |
|
Evgeny Grin (Karlson2k)
|
96aabc147d
|
MHD_connection_handle_idle(): fixed reset of 'connection->in_idle' to false
|
2017-03-15 22:26:08 +03:00 |
|
Evgeny Grin (Karlson2k)
|
afb221c32a
|
Improved thread-safety with suspended connections.
|
2017-03-15 21:34:59 +03:00 |
|
Evgeny Grin (Karlson2k)
|
b8a3977d58
|
Added ability to get connection timeout by MHD_get_connection_info().
|
2017-03-15 21:05:15 +03:00 |
|
Evgeny Grin (Karlson2k)
|
4b6e4c630d
|
upgraded connections: removed redundant states and checks and unified processing logic.
Fixed early close in TLS thread-per-connection mode.
|
2017-03-15 18:20:29 +03:00 |
|
Evgeny Grin (Karlson2k)
|
b8c844ae6a
|
Fixed compiler warning.
|
2017-03-15 10:45:15 +03:00 |
|
Karlson2k
|
33d16aa320
|
Fixed regressions introduced by 4c219bf5c0 and 244ef60869
|
2017-03-15 10:40:35 +03:00 |
|
Evgeny Grin (Karlson2k)
|
244ef60869
|
Prevent run of MHD_run_from_select() for daemon started with wrong flags.
Maintain backward compatibility with except_fd_set set to NULL.
|
2017-03-15 00:53:08 +03:00 |
|
Evgeny Grin (Karlson2k)
|
4c219bf5c0
|
Prevent calling of MHD_get_fdset() and MHD_get_fdset2() for daemons with MHD_USE_INTERNAL_POLLING_THREAD,
maintain backward compatibility
|
2017-03-15 00:47:24 +03:00 |
|
Evgeny Grin (Karlson2k)
|
aac2465413
|
Upgraded: fixed check for error state on socket
|
2017-03-14 22:45:44 +03:00 |
|
Evgeny Grin (Karlson2k)
|
e6d9d82e1b
|
mhd_sockets.h: Fixed compiler warnings
|
2017-03-14 22:18:55 +03:00 |
|
Evgeny Grin (Karlson2k)
|
079b61496e
|
Fixed typo in 1855c73cd3:
logic 'AND" instead of bitwise 'AND'
|
2017-03-14 12:42:10 +03:00 |
|
Evgeny Grin (Karlson2k)
|
b3dff1c713
|
process_urh(): reorganized code so error conditions are handled before normal processing
Fixed error handling on socketpair (typo).
|
2017-03-14 10:41:41 +03:00 |
|
Evgeny Grin (Karlson2k)
|
cd54b87353
|
process_urh(): clarified comment
|
2017-03-14 10:27:30 +03:00 |
|
Evgeny Grin (Karlson2k)
|
1855c73cd3
|
Corrected monitor 'upgraded' sockets for errors, corrected handling of error and
streamlined forwarding processing logic.
Added some comments.
|
2017-03-13 23:48:17 +03:00 |
|
Evgeny Grin (Karlson2k)
|
8dadd66dde
|
struct MHD_UpgradeResponseHandle: clarified comments
|
2017-03-13 23:41:09 +03:00 |
|
Evgeny Grin (Karlson2k)
|
1c9fd1b90f
|
Fixed non-portable changes in 91548850d9
Fixed waiting for empty fd_sets in test_empty_response.c and test_https_get_select.c
|
2017-03-12 22:37:29 +03:00 |
|
Christian Grothoff
|
15a2570f7c
|
fix comment syntax
|
2017-03-10 18:26:16 +01:00 |
|
Evgeny Grin (Karlson2k)
|
b91d61b766
|
thread_main_handle_connection(): use bool wider
|
2017-03-10 20:12:34 +03:00 |
|
Evgeny Grin (Karlson2k)
|
defb4e4d7b
|
Fixed reset timeout on connection resume in thread-per-connection mode.
|
2017-03-10 20:04:43 +03:00 |
|
Evgeny Grin (Karlson2k)
|
9174eb844b
|
process_urh(): process all recv() before all send() to overcome limitations on some platforms
|
2017-03-10 20:00:11 +03:00 |
|
Evgeny Grin (Karlson2k)
|
26b63fcb86
|
process_urh(): Rearranged comments, fixed wrong "unready" mark.
|
2017-03-10 20:00:11 +03:00 |
|
Christian Grothoff
|
d946118778
|
fix NPE (COV 164294)
|
2017-03-10 16:43:57 +01:00 |
|
Christian Grothoff
|
91548850d9
|
check system call return values in tests
|
2017-03-10 16:40:27 +01:00 |
|
Christian Grothoff
|
2123decd50
|
fix COV 164298: integer overflow on multiplying timeout
|
2017-03-10 16:37:57 +01:00 |
|
Christian Grothoff
|
046ca77762
|
remove bogus check
|
2017-03-10 16:32:24 +01:00 |
|
Christian Grothoff
|
4deb335de8
|
avoid redundant NULL check, make MHD_cleanup_upgraded_connection_ static (only used from within daemon.c) and rename to cleanup_upgraded_connection
|
2017-03-10 16:29:58 +01:00 |
|
Christian Grothoff
|
667a974ca7
|
fix CID 164297: ensure -1 listen_fd is not passed to close
|
2017-03-10 16:26:24 +01:00 |
|
silvioprog
|
fe7582e526
|
Updates the MHD_OPTION_URI_LOG_CALLBACK's documentation.
|
2017-03-07 10:42:20 -03:00 |
|
Christian Grothoff
|
6597eb93b6
|
fix compiler warning
|
2017-03-06 13:26:20 +01:00 |
|
Evgeny Grin (Karlson2k)
|
5d60a480a0
|
Fixed typos introduced by cf9bb9428f
|
2017-03-02 11:26:34 +03:00 |
|
Evgeny Grin (Karlson2k)
|
46a8b84760
|
Clarified comment
|
2017-03-01 23:49:02 +03:00 |
|
Evgeny Grin (Karlson2k)
|
cf9bb9428f
|
Watch "upgraded" sockets for OOB data and disconnects.
Currently states are only monitored. States processing have to be added.
|
2017-03-01 23:49:02 +03:00 |
|
Evgeny Grin (Karlson2k)
|
8314b675e5
|
Watch sockets for out-of-band data in select() mode too.
This even more unify select() and poll()/epoll modes.
|
2017-03-01 23:49:01 +03:00 |
|
silvioprog
|
dd3da90283
|
i18n example: re-add useful comments as suggested by Karlson2k
|
2017-03-01 13:14:27 -03:00 |
|
silvioprog
|
bf56a65a0c
|
i18n example has been failed in some SOs, then we decided to make it as an extra dist
|
2017-02-28 22:36:40 -03:00 |
|
Evgeny Grin (Karlson2k)
|
347cbe5f10
|
Fixed storing pointers and integers in one union in epoll mode.
|
2017-02-28 23:19:21 +03:00 |
|
Evgeny Grin (Karlson2k)
|
c36a7c7f30
|
Fixed attempts to accept incoming connection on shutdown of listen socket
|
2017-02-28 22:35:40 +03:00 |
|
silvioprog
|
abb31c0a77
|
Added i18n example: msgs_i18n.c
|
2017-02-28 15:51:32 -03:00 |
|
Evgeny Grin (Karlson2k)
|
1c71436380
|
Fixed regression introduced by a5b2b99e4b
|
2017-02-28 21:39:39 +03:00 |
|
Evgeny Grin (Karlson2k)
|
80939fd617
|
Missing change in 78295468b0
|
2017-02-28 21:29:20 +03:00 |
|
Evgeny Grin (Karlson2k)
|
78295468b0
|
Walk double-linked lists from 'tail' to 'head'.
Walking connection as "First in - First Served" gives more uniform processing time.
|
2017-02-28 19:51:17 +03:00 |
|