Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | internal.h: fixed static function placement | Evgeny Grin (Karlson2k) | 2022-05-06 |
| | |||
* | MHD_get_master(): moved to the header, simplified | Evgeny Grin (Karlson2k) | 2022-05-06 |
| | | | | There is no need to support more than one level of 'master' daemon. | ||
* | digestauth: use mseconds for timestamp | Evgeny Grin (Karlson2k) | 2022-05-04 |
| | | | | The clash of nonces is lower with higher timestamp resolution | ||
* | internal.h: fixed doxy | Evgeny Grin (Karlson2k) | 2022-05-04 |
| | |||
* | struct MHD_NonceNc: improved doxy | Evgeny Grin (Karlson2k) | 2022-05-01 |
| | |||
* | MHD_get_daemon_info(): fixed unaligned memory access | 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. | ||
* | 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. | ||
* | refactoring: use 'const' for response buffers | Evgeny Grin (Karlson2k) | 2022-04-18 |
| | | | | The response buffers shouldn't be modifiable. | ||
* | MHD_Connection: added 'const' qualifiers to some unmodifiable members | Evgeny Grin (Karlson2k) | 2022-04-17 |
| | |||
* | Refactoring: different types for response and request headers | Evgeny Grin (Karlson2k) | 2022-04-17 |
| | | | | | Request headers are always read-only (const char *), while response headers are modifiable. Should help with catching errors in code. | ||
* | Added separate internal "responseIcy" flag. | Evgeny Grin (Karlson2k) | 2022-03-10 |
| | | | | | This simplified the code. Also fixed some incorrect responseCode processing without ICY mask. | ||
* | response: added automatic flag MHD_RAF_HAS_CONTENT_LENGTH | Evgeny Grin (Karlson2k) | 2022-03-07 |
| | |||
* | Moved mhd_panic() and helpers to separate .c/.h files | Evgeny Grin (Karlson2k) | 2022-01-25 |
| | |||
* | Doxy corrections, fixes, and sync | Evgeny Grin (Karlson2k) | 2021-12-29 |
| | |||
* | process_request_body(): minor improvement of code readability | Evgeny Grin (Karlson2k) | 2021-11-24 |
| | |||
* | Reworking early close flags | Evgeny Grin (Karlson2k) | 2021-11-21 |
| | | | | | 'early_response' renamed to 'discard_request'. Changed the way how flags are checked. | ||
* | Distinguish "early response" from "error response" | Evgeny Grin (Karlson2k) | 2021-10-31 |
| | |||
* | internal.h: clarified doxy | Evgeny Grin (Karlson2k) | 2021-10-26 |
| | |||
* | internal.h: fixed doxy for read buffer | Evgeny Grin (Karlson2k) | 2021-10-17 |
| | | | | | | MHD always zero-terminate by replacing end-of-line chars and never zero-terminate by write char after valid read position. Read buffer is NOT longer. 'read_buffer_offset' actually determines the first INVALID position. | ||
* | internal.h: fixed typo in comment, updated copyright | Evgeny Grin (Karlson2k) | 2021-10-05 |
| | |||
* | Switched internal timers to milliseconds resolutions. | Evgeny Grin (Karlson2k) | 2021-08-30 |
| | | | | | | | | This is needed to handle connection timeouts precisely. * Fixed connections expired "just before or after" required timeout * Fixed busy-waiting with low-resolution system timers when connection is about to timeout. Now low-resolution timers are handled automatically. * Added log message if application tries to set ridiculously large timeout | ||
* | Added flag for non-blocking listen socket | Evgeny Grin (Karlson2k) | 2021-08-24 |
| | |||
* | Added new connection state MHD_CONNECTION_START_REPLY | Evgeny Grin (Karlson2k) | 2021-08-23 |
| | |||
* | Added new connection state MHD_CONNECTION_FULL_REQ_RECEIVED | Evgeny Grin (Karlson2k) | 2021-08-21 |
| | | | | The new state improved readability of the code. | ||
* | Added new connection state MHD_CONNECTION_REQ_LINE_RECEIVING | Evgeny Grin (Karlson2k) | 2021-08-21 |
| | | | | | This allow to distinguish between connections received any data and connections without any incoming data. | ||
* | Added new connection flag "stop_with_error". | Evgeny Grin (Karlson2k) | 2021-08-21 |
| | | | | Stopped usage of "read_close" flag when read hasn't been closed. | ||
* | enum MHD_CONNECTION_STATE: sorted states | Evgeny Grin (Karlson2k) | 2021-08-21 |
| | |||
* | enum MHD_CONNECTION_STATE: removed numbers from doxy | Evgeny Grin (Karlson2k) | 2021-08-21 |
| | | | | The numbers were meaningless as states are switched not in order | ||
* | Do not use the same flag for chunked request and chunked reply | Evgeny Grin (Karlson2k) | 2021-08-21 |
| | |||
* | keepalive_possible: simplified; added new value for MHD_ConnKeepAlive | Evgeny Grin (Karlson2k) | 2021-08-18 |
| | |||
* | Complete re-write of reply header build function and helpers | Evgeny Grin (Karlson2k) | 2021-08-15 |
| | | | | | | | | | The reply headers build function was re-implemented from scratch. Added some helper functions to simplify maintainability and increase readability. Fixed chunked encoding handling and compliance with RFC. This implementation tries to resemble behavior of previous implementations (except fixes). Some code is marked with TODO to make further improvements. | ||
* | internal.h: minor doxy correction | Evgeny Grin (Karlson2k) | 2021-08-11 |
| | |||
* | response header: more pre-processing, better docs | Evgeny Grin (Karlson2k) | 2021-08-01 |
| | | | | | * Disallow "Transfer-encoding: identity", not allowed by RFC * Allow only single "Date" header | ||
* | connection cleanup: streamlined cleanup process | Evgeny Grin (Karlson2k) | 2021-07-30 |
| | |||
* | response: process "Connection" header in a special manner | Evgeny Grin (Karlson2k) | 2021-07-05 |
| | |||
* | Corrected internal doxy | Evgeny Grin (Karlson2k) | 2021-07-05 |
| | |||
* | Added attributes for enums | Evgeny Grin (Karlson2k) | 2021-06-21 |
| | |||
* | internal.h: reordered items | Evgeny Grin (Karlson2k) | 2021-06-20 |
| | |||
* | Response: fixed order of the headers | Evgeny Grin (Karlson2k) | 2021-06-20 |
| | | | | | | Fixed reversed order of headers in the response. Is was commented the order of headers should be reversed before sending response, but it was never implemented before. | ||
* | connection.c: added detection of standard HTTP methods | Evgeny Grin (Karlson2k) | 2021-06-12 |
| | | | | Detection was added only for basic methods as defined in RFC7231 | ||
* | Corrected naming enum MHD_HTTP_version -> enum MHD_HTTP_Version | Evgeny Grin (Karlson2k) | 2021-06-12 |
| | |||
* | Code and comments minor fixes | Evgeny Grin (Karlson2k) | 2021-05-30 |
| | |||
* | Added detection of HTTP version during early parsing | Evgeny Grin (Karlson2k) | 2021-05-21 |
| | | | | | Requests with unsupported HTTP versions are rejected as specified by RFC 7230. | ||
* | Fixed build with MSVC, fixed compiler warnings | Evgeny Grin (Karlson2k) | 2021-04-23 |
| | |||
* | Added support for ALPN protocols list for TLS connections | Evgeny Grin (Karlson2k) | 2021-04-19 |
| | |||
* | Fixes and improvements for 6c751386a2e06d35b6d072c064bd581ddd561c52 | Evgeny Grin (Karlson2k) | 2021-04-16 |
| | | | | | Fixed build on platforms without epoll, saved one sys-call for externally added connections. | ||
* | fix #6768: do not use TCP-specific syscalls on UNIX domain sockets | Evgeny Grin (Karlson2k) | 2021-04-16 |
| | |||
* | daemon: added user options counter | Evgeny Grin (Karlson2k) | 2021-03-15 |
| | |||
* | -misc style fixes, no semantic changes | Christian Grothoff | 2021-02-26 |
| |