Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | thread-per-connection: improved timeout handling for 'poll()' mode, fixed ↵ | Evgeny Grin (Karlson2k) | 2022-04-27 |
| | | | | | | | | | short busy-waiting * Avoid unneeded wake-ups * More precise timeout with milliseconds accuracy * Fixed potential short (less than one second) busy waiting when connection is about to expire. | ||
* | thread-per-connection: do not cache connection timeout | Evgeny Grin (Karlson2k) | 2022-04-27 |
| | | | | The timeout value could be updated by application | ||
* | Response from callback: do allow negative return amounts, except predefined ↵ | Evgeny Grin (Karlson2k) | 2022-04-27 |
| | | | | values | ||
* | Fixed compiler warnings of implicit casting, which could change the value | Evgeny Grin (Karlson2k) | 2022-04-27 |
| | |||
* | MHD_itc_clear_(): simplified eventfd version | Evgeny Grin (Karlson2k) | 2022-04-27 |
| | |||
* | set_test_panic: added new test | Evgeny Grin (Karlson2k) | 2022-04-25 |
| | |||
* | MHD_set_panic_func: clarified doxy | Evgeny Grin (Karlson2k) | 2022-04-25 |
| | |||
* | configure: fixed clang's "argument unused" | Evgeny Grin (Karlson2k) | 2022-04-25 |
| | |||
* | test_postprocessor: fixed typo | Evgeny Grin (Karlson2k) | 2022-04-25 |
| | |||
* | Removed unneeded anymore alignment workarounds. | Evgeny Grin (Karlson2k) | 2022-04-25 |
| | |||
* | MHD_get_daemon_info(): fixed unaligned memory access | Evgeny Grin (Karlson2k) | 2022-04-25 |
| | |||
* | sha1.c: muted alignment warnings | Evgeny Grin (Karlson2k) | 2022-04-25 |
| | |||
* | sha1.c: fixed coding style | Evgeny Grin (Karlson2k) | 2022-04-25 |
| | |||
* | sha256.c: muted alignment warnings | Evgeny Grin (Karlson2k) | 2022-04-25 |
| | |||
* | sha256.c: fixed coding style | Evgeny Grin (Karlson2k) | 2022-04-25 |
| | |||
* | md5.c: muted compiler alignment warnings | Evgeny Grin (Karlson2k) | 2022-04-25 |
| | |||
* | mhd_bithelpers: minor improvement of internal macros | Evgeny Grin (Karlson2k) | 2022-04-25 |
| | |||
* | MHD_get_connection_info(): Fixed possible unaligned access | Evgeny Grin (Karlson2k) | 2022-04-25 |
| | | | | | | | Also: * Reduced number of 'MHD_Connection' members. * Fixed wrong value of returned timeout on some platforms, if timeout is too large. | ||
* | daemon.c: fixed possible unaligned access to 'struct sockaddr_in' | Evgeny Grin (Karlson2k) | 2022-04-23 |
| | | | | | On some platforms 'struct sockaddr_in' requires increased alignment compared to ''struct sockaddr'. | ||
* | doc/examples: avoid usage of unportable functions | Evgeny Grin (Karlson2k) | 2022-04-23 |
| | |||
* | doc/examples: improved formatting | Evgeny Grin (Karlson2k) | 2022-04-23 |
| | |||
* | doc/examples: do not use non-literals for printf() | Evgeny Grin (Karlson2k) | 2022-04-23 |
| | |||
* | src/examples: fixed printf format specifiers | Evgeny Grin (Karlson2k) | 2022-04-23 |
| | |||
* | test_shutdown_select: fixed code style | Evgeny Grin (Karlson2k) | 2022-04-23 |
| | |||
* | microhttpd2.h: fixed code style | Evgeny Grin (Karlson2k) | 2022-04-23 |
| | |||
* | Fixed many macros | Evgeny Grin (Karlson2k) | 2022-04-23 |
| | | | | 'defined()' should be used without space before bracket | ||
* | configure: changed warning compiler flags | Evgeny Grin (Karlson2k) | 2022-04-23 |
| | | | | | | | * Removed -Wformat-overflow=2 and -Wformat-truncation=2, '=2' gives only false positive warnings. * Added -Wformat-security * Added -Wmissing-declarations | ||
* | basicauth: very minor optimisaion | Evgeny Grin (Karlson2k) | 2022-04-23 |
| | |||
* | websocket_threaded_example: mark function as static | Evgeny Grin (Karlson2k) | 2022-04-23 |
| | |||
* | Fixed old-style functions definitions | Evgeny Grin (Karlson2k) | 2022-04-23 |
| | |||
* | autoinit_funcs.h: improved formatting | Evgeny Grin (Karlson2k) | 2022-04-23 |
| | |||
* | autoinit_funcs.h: added functions prototypes | Evgeny Grin (Karlson2k) | 2022-04-23 |
| | |||
* | daemon.c: added prototypes for non-static functions | Evgeny Grin (Karlson2k) | 2022-04-23 |
| | |||
* | MHD_start_daemon: simplified logic for AUTO flags | Evgeny Grin (Karlson2k) | 2022-04-23 |
| | | | | Avoid "duplicated branches" on some platforms | ||
* | test_https_sni: limit to libcrul with certain TLS backends. | Evgeny Grin (Karlson2k) | 2022-04-21 |
| | | | | | NSS can't be used with SSL_VERIFYPEER disabled, while SSL_VERIFYHOST is enabled, other backends may have some problems as well. | ||
* | test_https_sni: use CA certificate | Evgeny Grin (Karlson2k) | 2022-04-21 |
| | | | | | Still disabled in the test itself, but it should not hurt to give the proper CA if it is available. | ||
* | Updated test TLS certificate in test and examples | Evgeny Grin (Karlson2k) | 2022-04-21 |
| | | | | The new certificate should be a bit more similar to production certs. | ||
* | test_https_sni: use certificates with SAN fields | Evgeny Grin (Karlson2k) | 2022-04-21 |
| | | | | | | | While host in CommonName (CN) is still should be supported, it is recommended to use SubjectAltName to identify the host. This also workarounds the bug in libcurl 7.82.0 with certificates processing. | ||
* | Use HTTP/1.1 for all TLS tests | Evgeny Grin (Karlson2k) | 2022-04-21 |
| | | | | Nobody is using HTTP/1.0 with TLS | ||
* | Updated .gitattributes | Evgeny Grin (Karlson2k) | 2022-04-21 |
| | | | | Always use LF line endings for *.key, *.crt, and *.pem. | ||
* | doc/examples: Fixed drop of 'const' qualifiers | Evgeny Grin (Karlson2k) | 2022-04-19 |
| | |||
* | src/examples: Fixed drop of 'const' qualifiers and minor fixes. | Evgeny Grin (Karlson2k) | 2022-04-19 |
| | | | | * some minor fixes and improvements. | ||
* | microhttpd.h: minor doxy improvement | Evgeny Grin (Karlson2k) | 2022-04-19 |
| | |||
* | Added new API function MHD_create_response_from_buffer_copy() | Evgeny Grin (Karlson2k) | 2022-04-19 |
| | |||
* | Minor simplification for ALPN protocols code | Evgeny Grin (Karlson2k) | 2022-04-19 |
| | |||
* | Added workaround for external APIs | Evgeny Grin (Karlson2k) | 2022-04-19 |
| | | | | | | Some APIs require non-const pointer even when data is supposed to be unmodifiable. Added workaround to deal with such APIs without compiler warnings. | ||
* | Fixed missing 'const' qualifiers | Evgeny Grin (Karlson2k) | 2022-04-19 |
| | |||
* | Fixed drop of 'const' when building internal error response | Evgeny Grin (Karlson2k) | 2022-04-19 |
| | |||
* | Added new API function MHD_create_response_from_buffer_static() | Evgeny Grin (Karlson2k) | 2022-04-19 |
| | |||
* | MHD_get_version(): fixed signed value bit shift | Evgeny Grin (Karlson2k) | 2022-04-18 |
| |