Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | connection.c: added asserts for connection's states processing logic | Evgeny Grin (Karlson2k) | 2022-09-27 |
| | |||
* | connection.c: fixed typo in comment | Evgeny Grin (Karlson2k) | 2022-09-27 |
| | |||
* | Removed one debug member from release builds | Evgeny Grin (Karlson2k) | 2022-09-27 |
| | |||
* | Renamed request processing states for clarity and readability | Evgeny Grin (Karlson2k) | 2022-09-27 |
| | |||
* | connection: skip no-op calling of body generation functions when response ↵ | Evgeny Grin (Karlson2k) | 2022-09-27 |
| | | | | body is not used | ||
* | gen_auth: added support for two authorization headers in request | Evgeny Grin (Karlson2k) | 2022-08-09 |
| | |||
* | Internal refactoring: moved all reply-related members to separate structure | Evgeny Grin (Karlson2k) | 2022-08-09 |
| | |||
* | Internal refactoring: moved all request-related members to separate structure | Evgeny Grin (Karlson2k) | 2022-08-06 |
| | | | | This should improve readability of the code and simplify reset. | ||
* | Added tracking of the request URL length. | Evgeny Grin (Karlson2k) | 2022-06-22 |
| | | | | | URL may have binary zeros after url-decoding, the length helps to detect such situations. | ||
* | MHD_parse_arguments_(): refactored, allow cls for the callback | Evgeny Grin (Karlson2k) | 2022-06-22 |
| | |||
* | Added TODO comment | Evgeny Grin (Karlson2k) | 2022-06-07 |
| | |||
* | unsure why this was left as a TODO, fix seems trivial (EG: please check) | Christian Grothoff | 2022-06-07 |
| | |||
* | -fix warning | Christian Grothoff | 2022-06-06 |
| | |||
* | connection: muted compiler warning | Evgeny Grin (Karlson2k) | 2022-06-01 |
| | |||
* | connection.c: fixed compiler warnings | Evgeny Grin (Karlson2k) | 2022-05-31 |
| | |||
* | authentication: reworked header parsing | Evgeny Grin (Karlson2k) | 2022-05-31 |
| | | | | | | | | | Added single function to parse all enabled authentication schemes header strings. The parsing result is cached and reused thus avoiding repetitive header parsing. The new function correctly "unquotes" values (backslashes are removed) as required by RFC. | ||
* | connection_alloc_memory_(): made function non-static | Evgeny Grin (Karlson2k) | 2022-05-20 |
| | |||
* | MHD_connection_update_event_loop_info(): more complete TLS states handling | Evgeny Grin (Karlson2k) | 2022-05-16 |
| | |||
* | MHD_connection_handle_read(): refactored states handling at the end of the ↵ | Evgeny Grin (Karlson2k) | 2022-05-16 |
| | | | | function | ||
* | Added missing in 'switch' enum values (no functional change) | Evgeny Grin (Karlson2k) | 2022-05-16 |
| | |||
* | Fixed uninitialized value used in assert | Evgeny Grin (Karlson2k) | 2022-05-16 |
| | |||
* | Use '#ifdef PARAM' instead of '#if PARAM' for configuration options | Evgeny Grin (Karlson2k) | 2022-05-16 |
| | |||
* | Made cookie parsing optional feature | Evgeny Grin (Karlson2k) | 2022-05-15 |
| | |||
* | Rewritten cookie parsing. | Evgeny Grin (Karlson2k) | 2022-05-15 |
| | | | | Updated to match the current RFC, fixed some edge cases. | ||
* | parse_cookie_header(): moved outside error reporting | Evgeny Grin (Karlson2k) | 2022-05-15 |
| | |||
* | Return NULL for MHD_CONNECTION_INFO_CLIENT_ADDRESS if information is not ↵ | Evgeny Grin (Karlson2k) | 2022-05-14 |
| | | | | | | available Pipe or UNIX socket connections may have no client address | ||
* | Added asserts to check for non-master daemons only | Evgeny Grin (Karlson2k) | 2022-05-12 |
| | |||
* | MHD_set_connection_option(): reduced lock scope | Evgeny Grin (Karlson2k) | 2022-05-12 |
| | | | | | | Improved handling of setting the new connection timeout. Log function is not called with lock held. Simplified logic, completely avoided locking in thread-per-connection mode | ||
* | Fixed wrong (inverted) asserts | Evgeny Grin (Karlson2k) | 2022-05-05 |
| | |||
* | connection.c: fixed doxy | Evgeny Grin (Karlson2k) | 2022-05-04 |
| | |||
* | 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_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. | ||
* | Fixed drop of 'const' when building internal error response | Evgeny Grin (Karlson2k) | 2022-04-19 |
| | |||
* | Added _MHD_EXTERN to the all public functions definitions | Evgeny Grin (Karlson2k) | 2022-04-18 |
| | | | | | Previously it was inconsistent, some function definitions used _MHD_EXTERN, while other definitions was used without _MHD_EXTERN. | ||
* | connection: removed drop of 'const' qualifier | 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. | ||
* | -indentation fix | Christian Grothoff | 2022-04-04 |
| | |||
* | Added MHD_RF_HEAD_ONLY_RESPONSE response flag | Evgeny Grin (Karlson2k) | 2022-03-17 |
| | | | | | Useful if application needs to send reply for HEAD request, but creation of full reply body is costly. | ||
* | add_user_headers(): removed unused footers support | Evgeny Grin (Karlson2k) | 2022-03-17 |
| | |||
* | MHD_queue_response(): significantly improved doxy | Evgeny Grin (Karlson2k) | 2022-03-14 |
| | |||
* | Simplified function for determining needs for reply body and headers | Evgeny Grin (Karlson2k) | 2022-03-13 |
| | |||
* | MHD_queue_response(): refuse 101 code when not supported | Evgeny Grin (Karlson2k) | 2022-03-13 |
| | |||
* | MHD_queue_response(): clarified log message | Evgeny Grin (Karlson2k) | 2022-03-13 |
| | |||
* | Disallowed successful responses for CONNECT requests | Evgeny Grin (Karlson2k) | 2022-03-11 |
| | | | | | | MHD currently does not support CONNECT pass-through. However, support could be added relatively easily. Contact MHD maintainers if you need CONNECT support. | ||
* | Added warning in log if application-defined Content-Length is used | Evgeny Grin (Karlson2k) | 2022-03-10 |
| | |||
* | Added separate internal "responseIcy" flag. | Evgeny Grin (Karlson2k) | 2022-03-10 |
| | | | | | This simplified the code. Also fixed some incorrect responseCode processing without ICY mask. | ||
* | upgrade response: set response size to zero | Evgeny Grin (Karlson2k) | 2022-03-08 |
| | | | | Upgrade responses do not have body, so zero must be used as the body size. | ||
* | reply: warn if manual "Content-Length" is used when this header is not allowed | Evgeny Grin (Karlson2k) | 2022-03-07 |
| | |||
* | response headers: do not add automatic "Content-Length" header if response ↵ | Evgeny Grin (Karlson2k) | 2022-03-07 |
| | | | | | | | | already has it If application used MHD_RF_INSANITY_HEADER_CONTENT_LENGTH response flag and added manual "Content-Length" header, MHD will not add the correct header. |