aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/connection_https.c
Commit message (Collapse)AuthorAge
* Some readability improvementsEvgeny Grin (Karlson2k)2022-09-28
|
* Fixed compatibility with old GnuTLS versionsEvgeny 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 wellEvgeny Grin (Karlson2k)2021-04-19
|
* connection_https: disabled back TCP_NODELAY optimisationEvgeny Grin (Karlson2k)2021-04-11
|
* connection_https: clarify comment as suggested by CGEvgeny Grin (Karlson2k)2020-12-29
|
* Speed-up TLS handshakeEvgeny Grin (Karlson2k)2020-12-29
|
* send param adapter is deadChristian Grothoff2020-06-16
|
* Sanitized all log and error messages.silvioprog2020-05-09
|
* tighten formatting rulesChristian Grothoff2019-10-31
|
* applying uncrustify to ensure uniform indentationChristian Grothoff2019-10-17
|
* mhd_send: change send_tls_adapter() to non-static and export itsng02019-07-19
| | | | prototype, use it in mhd_send.c
* implement connection_cleanup.cChristian Grothoff2018-02-16
|
* connection_https.c: fixed commentEvgeny 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 manipulationEvgeny Grin (Karlson2k)2017-09-08
|
* Fixed sending responses >16KiB in HTTPS mode with epollEvgeny Grin (Karlson2k)2017-09-08
|
* *_param_adapter: Distinguish between network error and remote hard closeEvgeny Grin (Karlson2k)2017-08-27
|
* connection_https: reset tls_read_ready when no data is availableEvgeny 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 730134054bb94b499adf4164c29d5346ff1fdec1Evgeny Grin (Karlson2k)2017-06-05
|
* run_tls_handshake(): refactoring: return false if data send is not (yet) allowedEvgeny Grin (Karlson2k)2017-06-05
|
* Replace usage of MHD_Connection::tls_closed with MHD_Connection::tls_stateEvgeny 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 shutdownEvgeny 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 timeoutEvgeny 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 Grothoff2017-02-15
|
* Deduplicated connection's closure code, improved TLS closure.Evgeny Grin (Karlson2k)2016-11-01
|
* get test_upgrade_ssl to pass againChristian Grothoff2016-10-17
|
* fixing build errors if new upgrade logic is compiled without HTTPS supportChristian Grothoff2016-09-05
|
* more work on upgrade implementationChristian Grothoff2016-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 Grothoff2015-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.cEvgeny Grin (Karlson2k)2015-09-06
|
* Reimplement monotonic clock with wide range of platforms supportEvgeny Grin (Karlson2k)2015-08-27
|