Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | upgraded connections: removed redundant states and checks and unified ↵ | Evgeny Grin (Karlson2k) | 2017-03-15 |
| | | | | | | processing logic. Fixed early close in TLS thread-per-connection mode. | ||
* | Fixed compiler warning. | Evgeny Grin (Karlson2k) | 2017-03-15 |
| | |||
* | Fixed regressions introduced by 4c219bf5c0d4685cb00fd7ce19dd871348b67833 and ↵ | Karlson2k | 2017-03-15 |
| | | | | 244ef608698473115faa36d56cb2c2dae4202de8 | ||
* | Prevent run of MHD_run_from_select() for daemon started with wrong flags. | Evgeny Grin (Karlson2k) | 2017-03-15 |
| | | | | Maintain backward compatibility with except_fd_set set to NULL. | ||
* | Prevent calling of MHD_get_fdset() and MHD_get_fdset2() for daemons with ↵ | Evgeny Grin (Karlson2k) | 2017-03-15 |
| | | | | | | MHD_USE_INTERNAL_POLLING_THREAD, maintain backward compatibility | ||
* | Upgraded: fixed check for error state on socket | Evgeny Grin (Karlson2k) | 2017-03-14 |
| | |||
* | Fixed typo in 1855c73cd340ae6273251728e8d6d500b2c1119b: | Evgeny Grin (Karlson2k) | 2017-03-14 |
| | | | | logic 'AND" instead of bitwise 'AND' | ||
* | process_urh(): reorganized code so error conditions are handled before ↵ | Evgeny Grin (Karlson2k) | 2017-03-14 |
| | | | | | | normal processing Fixed error handling on socketpair (typo). | ||
* | process_urh(): clarified comment | Evgeny Grin (Karlson2k) | 2017-03-14 |
| | |||
* | Corrected monitor 'upgraded' sockets for errors, corrected handling of error and | Evgeny Grin (Karlson2k) | 2017-03-13 |
| | | | | | streamlined forwarding processing logic. Added some comments. | ||
* | fix comment syntax | Christian Grothoff | 2017-03-10 |
| | |||
* | thread_main_handle_connection(): use bool wider | Evgeny Grin (Karlson2k) | 2017-03-10 |
| | |||
* | Fixed reset timeout on connection resume in thread-per-connection mode. | Evgeny Grin (Karlson2k) | 2017-03-10 |
| | |||
* | process_urh(): process all recv() before all send() to overcome limitations ↵ | Evgeny Grin (Karlson2k) | 2017-03-10 |
| | | | | on some platforms | ||
* | process_urh(): Rearranged comments, fixed wrong "unready" mark. | Evgeny Grin (Karlson2k) | 2017-03-10 |
| | |||
* | fix NPE (COV 164294) | Christian Grothoff | 2017-03-10 |
| | |||
* | fix COV 164298: integer overflow on multiplying timeout | Christian Grothoff | 2017-03-10 |
| | |||
* | remove bogus check | Christian Grothoff | 2017-03-10 |
| | |||
* | avoid redundant NULL check, make MHD_cleanup_upgraded_connection_ static ↵ | Christian Grothoff | 2017-03-10 |
| | | | | (only used from within daemon.c) and rename to cleanup_upgraded_connection | ||
* | fix CID 164297: ensure -1 listen_fd is not passed to close | Christian Grothoff | 2017-03-10 |
| | |||
* | fix compiler warning | Christian Grothoff | 2017-03-06 |
| | |||
* | Fixed typos introduced by cf9bb9428f0065cf0ca8ef2c726933b4db2385f1 | Evgeny Grin (Karlson2k) | 2017-03-02 |
| | |||
* | Clarified comment | Evgeny Grin (Karlson2k) | 2017-03-01 |
| | |||
* | Watch "upgraded" sockets for OOB data and disconnects. | Evgeny Grin (Karlson2k) | 2017-03-01 |
| | | | | Currently states are only monitored. States processing have to be added. | ||
* | Watch sockets for out-of-band data in select() mode too. | Evgeny Grin (Karlson2k) | 2017-03-01 |
| | | | | This even more unify select() and poll()/epoll modes. | ||
* | Fixed storing pointers and integers in one union in epoll mode. | Evgeny Grin (Karlson2k) | 2017-02-28 |
| | |||
* | Fixed attempts to accept incoming connection on shutdown of listen socket | Evgeny Grin (Karlson2k) | 2017-02-28 |
| | |||
* | Fixed regression introduced by a5b2b99e4bbbcdc226fd9992382f4ccae44dfa50 | Evgeny Grin (Karlson2k) | 2017-02-28 |
| | |||
* | Missing change in 78295468b0956b92f49aaeba6bc76cc323cb063a | Evgeny Grin (Karlson2k) | 2017-02-28 |
| | |||
* | Walk double-linked lists from 'tail' to 'head'. | Evgeny Grin (Karlson2k) | 2017-02-28 |
| | | | | Walking connection as "First in - First Served" gives more uniform processing time. | ||
* | MHD_get_timeout(): one more 'int' -> 'bool' replacement. | Evgeny Grin (Karlson2k) | 2017-02-28 |
| | |||
* | MHD_get_timeout(): fixed return of latest timeout instead of earliest. | Evgeny Grin (Karlson2k) | 2017-02-28 |
| | |||
* | MHD_get_timeout(): fixed incorrect timeout for TLS connections. | Evgeny Grin (Karlson2k) | 2017-02-28 |
| | | | | | | | | If connection is in "MHD_EVENT_LOOP_INFO_WRITE" mode, any pending incoming data should not result in zero timeout. Already handled properly by 'data_already_pending'. Note: old check was incorrect even for "MHD_EVENT_LOOP_INFO_READ" connections as only first connection in "normal timeout" list was checked. | ||
* | Optimized epoll ready states processing: | Evgeny Grin (Karlson2k) | 2017-02-27 |
| | | | | Clear read/write ready flag when not full buffer was used by send()/recv() | ||
* | Fixed: EINTERRUPTED and GNUTLS_E_INTERRUPTED must not clear read/write ready ↵ | Evgeny Grin (Karlson2k) | 2017-02-27 |
| | | | | flag | ||
* | process_urh(): simple optimization | Evgeny Grin (Karlson2k) | 2017-02-26 |
| | |||
* | Reworked handling "already ready" situations: | Evgeny Grin (Karlson2k) | 2017-02-26 |
| | | | | | | * busy-waiting for write if TLS connection is in MHD_EVENT_LOOP_INFO_WRITE mode and data is pending in TLS buffers * removed calculation of number of TLS read-ready connections * simplified and unified processing if any connection is in MHD_EVENT_LOOP_INFO_BLOCK mode | ||
* | fix tipo: `MHD_FEATURE_MESSGES` -> `MHD_FEATURE_MESSAGES`. | silvioprog | 2017-02-25 |
| | |||
* | Fixed connection states processing error introduced by ↵ | Evgeny Grin (Karlson2k) | 2017-02-25 |
| | | | | 813fc203ef95f7e3b1d410e182d363a30f5fdad3 | ||
* | call_handlers(): always call idle_handler() after each read/write. This ↵ | Evgeny Grin (Karlson2k) | 2017-02-21 |
| | | | | | | | | allow to process both read and write at single call_handlers() invocation if readability and writeability are both known (epoll mode). Simplified checks for 'fast track' mode. | ||
* | call_handlers(): call read/write handlers only if connections is in ↵ | Evgeny Grin (Karlson2k) | 2017-02-19 |
| | | | | read/write mode | ||
* | MHD_epoll(): call handler depending on read/write ready state instead of ↵ | Evgeny Grin (Karlson2k) | 2017-02-19 |
| | | | | loop state. | ||
* | Changed poll()/select()/epoll monitoring logic: | Evgeny Grin (Karlson2k) | 2017-02-19 |
| | | | | | | | connections monitored for incoming data only when expecting any incoming data; connections always monitored for disconnection and out-of-band data; connections are closed faster in case of any error conditions; fixed non-zero timeout in poll() mode with MHD_EVENT_LOOP_INFO_BLOCK connections. | ||
* | call_handlers(): use 'bool' type for parameters | Evgeny Grin (Karlson2k) | 2017-02-19 |
| | |||
* | call_handlers(): no need to call read or write handler in case of hard error | Evgeny Grin (Karlson2k) | 2017-02-19 |
| | |||
* | Simplified checks for internal polling thread. | Evgeny Grin (Karlson2k) | 2017-02-19 |
| | |||
* | bump dates and versions and update ChangeLog | Christian Grothoff | 2017-02-15 |
| | |||
* | convert client_aware to 'bool' | Christian Grothoff | 2017-02-15 |
| | |||
* | convert clean_ready to 'bool' | Christian Grothoff | 2017-02-15 |
| | |||
* | convert have_dhparams to 'bool' | Christian Grothoff | 2017-02-15 |
| |