Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Some readability improvements | Evgeny Grin (Karlson2k) | 2022-09-28 |
| | |||
* | Fixed compatibility with old GnuTLS versions | Evgeny Grin (Karlson2k) | 2021-12-12 |
| | |||
* | Fixed analyzer errors: cast enum values to enum types. | Evgeny Grin (Karlson2k) | 2021-09-07 |
| | | | | | | | | | | | | | | | | | | enum values in C are not enum types, they are just numbers. By default numbers are mapped to signed type, like 'int'. enum types are represented with usigned types, like 'unsigned int', unless values of enum contains negative numbers. If bitwise NOT performed on pure enum value, which is automatically mapped to 'int', then result is negative number. Result of casting of negative number to unsigned type depends on architecture and may be unexpected. By explicitly casting enum values to enum types, values are converted to correct representation type, like 'unsgined int'. Result of bitwise NOT for unsigned type is predictable and does not need to be casted to the final type. Yes, casting of enum values to the same enum type looks strange, but this is the only way to properly handle bitwise NOT for enums in C. | ||
* | connection: report error details for recv() as well | Evgeny Grin (Karlson2k) | 2021-04-19 |
| | |||
* | connection_https: disabled back TCP_NODELAY optimisation | Evgeny Grin (Karlson2k) | 2021-04-11 |
| | |||
* | connection_https: clarify comment as suggested by CG | Evgeny Grin (Karlson2k) | 2020-12-29 |
| | |||
* | Speed-up TLS handshake | Evgeny Grin (Karlson2k) | 2020-12-29 |
| | |||
* | send param adapter is dead | Christian Grothoff | 2020-06-16 |
| | |||
* | Sanitized all log and error messages. | silvioprog | 2020-05-09 |
| | |||
* | tighten formatting rules | Christian Grothoff | 2019-10-31 |
| | |||
* | applying uncrustify to ensure uniform indentation | Christian Grothoff | 2019-10-17 |
| | |||
* | mhd_send: change send_tls_adapter() to non-static and export its | ng0 | 2019-07-19 |
| | | | | prototype, use it in mhd_send.c | ||
* | implement connection_cleanup.c | Christian Grothoff | 2018-02-16 |
| | |||
* | connection_https.c: fixed comment | Evgeny Grin (Karlson2k) | 2017-11-03 |
| | |||
* | Fixed received of large data over HTTPS in epoll. | Evgeny Grin (Karlson2k) | 2017-11-03 |
| | |||
* | send_tls_adapter(): removed leftover errno manipulation | Evgeny Grin (Karlson2k) | 2017-09-08 |
| | |||
* | Fixed sending responses >16KiB in HTTPS mode with epoll | Evgeny Grin (Karlson2k) | 2017-09-08 |
| | |||
* | *_param_adapter: Distinguish between network error and remote hard close | Evgeny Grin (Karlson2k) | 2017-08-27 |
| | |||
* | connection_https: reset tls_read_ready when no data is available | Evgeny Grin (Karlson2k) | 2017-08-27 |
| | |||
* | Merged MHD_tls_connection_handle_write() into MHD_connection_handle_write() | Evgeny Grin (Karlson2k) | 2017-06-05 |
| | |||
* | Merged MHD_tls_connection_handle_read() into MHD_connection_handle_read() | Evgeny Grin (Karlson2k) | 2017-06-05 |
| | |||
* | Fixed typo in 730134054bb94b499adf4164c29d5346ff1fdec1 | Evgeny Grin (Karlson2k) | 2017-06-05 |
| | |||
* | run_tls_handshake(): refactoring: return false if data send is not (yet) allowed | Evgeny Grin (Karlson2k) | 2017-06-05 |
| | |||
* | Replace usage of MHD_Connection::tls_closed with MHD_Connection::tls_state | Evgeny Grin (Karlson2k) | 2017-06-05 |
| | |||
* | Used separate 'state' for TLS layer (independent of state of HTTP process) | Evgeny Grin (Karlson2k) | 2017-06-05 |
| | |||
* | Do not use errno to return errors from send_param_adapter()/send_tls_adapter() | Evgeny Grin (Karlson2k) | 2017-06-05 |
| | |||
* | Do not use errno to return errors from recv_param_adapter()/recv_tls_adapter() | Evgeny Grin (Karlson2k) | 2017-06-05 |
| | |||
* | Refactoring: moved send_/recv_param_adapter() to connection.c and ↵ | Evgeny Grin (Karlson2k) | 2017-06-04 |
| | | | | send_/recv_tls_adapter() to connection_https.c | ||
* | MHD_connection_mark_closed_(): changed return type to 'bool' | Evgeny Grin (Karlson2k) | 2017-06-03 |
| | |||
* | MHD_tls_connection_shutdown(): remember real result of TLS shutdown | Evgeny Grin (Karlson2k) | 2017-06-03 |
| | |||
* | Removed MHD_tls_connection_handle_idle() and MHD_Connection::idle_handler. | Evgeny Grin (Karlson2k) | 2017-05-29 |
| | | | | | Ensure that MHD_connection_update_event_loop_info() is called for MHD_TLS_CONNECTION_INIT state to properly update read/write event loop info when doing TLS handshake | ||
* | Fixed hypothetical situation when timeout could be larger than possible to ↵ | Evgeny Grin (Karlson2k) | 2017-04-05 |
| | | | | | | | measure. Fixed detecting real closest timeout deadline when value wraps upper limit. Fixed compiler warnings. | ||
* | Fixed logic of idle disconnection: connection should be disconnected not ↵ | Evgeny Grin (Karlson2k) | 2017-03-16 |
| | | | | | | early than "timeout", not before "timeout" number of seconds. | ||
* | HTTPS connection: fixed double processing of timeout | Evgeny Grin (Karlson2k) | 2017-03-16 |
| | |||
* | Update connection last activity if and only if any data was received or ↵ | Evgeny Grin (Karlson2k) | 2017-03-16 |
| | | | | transmitted. | ||
* | Unified update of connection activity. | Evgeny Grin (Karlson2k) | 2017-03-16 |
| | |||
* | run_tls_handshake(): fixed wrong return value resulting in slower TLS ↵ | Evgeny Grin (Karlson2k) | 2017-03-16 |
| | | | | connection setup | ||
* | Do not disconnect suspended HTTPS connections by timeout. | Evgeny Grin (Karlson2k) | 2017-03-16 |
| | |||
* | MHD_tls_connection_handle_idle(): do not need to explicitly handle data ↵ | Evgeny Grin (Karlson2k) | 2017-03-16 |
| | | | | | | pending in TLS buffers Data from TLS buffers handled automatically by read/write functions. | ||
* | convert tls_closed to 'bool' | Christian Grothoff | 2017-02-15 |
| | |||
* | Deduplicated connection's closure code, improved TLS closure. | Evgeny Grin (Karlson2k) | 2016-11-01 |
| | |||
* | get test_upgrade_ssl to pass again | Christian Grothoff | 2016-10-17 |
| | |||
* | fixing build errors if new upgrade logic is compiled without HTTPS support | Christian Grothoff | 2016-09-05 |
| | |||
* | more work on upgrade implementation | Christian Grothoff | 2016-08-28 |
| | |||
* | Refactoring: do not define EPOLL_SUPPORT if epoll is disabled or not supported. | Evgeny Grin (Karlson2k) | 2016-08-24 |
| | |||
* | configure.ac: cleanup and fixes related to optional features, corresponding ↵ | Evgeny Grin (Karlson2k) | 2016-01-11 |
| | | | | changes in source files | ||
* | -fix assertion failure from race on shutdown and buffer shrinkage with ↵ | Christian Grothoff | 2015-10-25 |
| | | | | pipelining | ||
* | connection_https.c: include "connection.h" alongside with "connection_https.h" | Evgeny Grin (Karlson2k) | 2015-09-07 |
| | |||
* | Include correct header in connection_https.c | Evgeny Grin (Karlson2k) | 2015-09-06 |
| | |||
* | Reimplement monotonic clock with wide range of platforms support | Evgeny Grin (Karlson2k) | 2015-08-27 |
| |