aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd
Commit message (Collapse)AuthorAge
* configure: fixed checks for tsearch() and relatedEvgeny Grin (Karlson2k)2023-03-03
| | | | | | | New check works correctly with new compilers. Added known problematic implementations. Added more checks for correct behaviour. Removed some m4 macros.
* tsearch.{h,c}: updated to the latest fixed versionEvgeny Grin (Karlson2k)2023-03-03
| | | | Minor modification added to avoid compiler warnings
* daemon.c: fixed heap manipulations with mutex heldEvgeny Grin (Karlson2k)2023-03-02
|
* -typoChristian Grothoff2023-02-27
|
* fix parser bug that could be used to crash servers using the MHD_PostProcessorChristian Grothoff2023-02-26
|
* epoll: immediately notice when other side closes the socket, instead of ↵Christian Grothoff2023-02-08
| | | | waiting for timeout (fixes #7192)
* add assertion to guard against bad behavior described in #7196, also ↵Christian Grothoff2023-02-08
| | | | document that after suspending one must return MHD_YES
* response.c: fixed compiler warning on x32 platformsEvgeny Grin (Karlson2k)2022-12-27
|
* daemon: fixed compiler warning for non-TLS buildsEvgeny Grin (Karlson2k)2022-12-27
|
* Correction for 4a169d0cffaa69ed22ddd6cca721b43c7599df6cEvgeny Grin (Karlson2k)2022-12-24
|
* Updated parsing of cookies, reject cookie completely if discipline is very ↵Evgeny Grin (Karlson2k)2022-12-22
| | | | strict
* Updated W32 resources fileEvgeny Grin (Karlson2k)2022-12-22
|
* Added new daemon option MHD_OPTION_CLIENT_DISCIPLINE_LVEvgeny Grin (Karlson2k)2022-12-22
| | | | | | | Reject URIs with spaces as per RFC. Fixed check for space before colon in headers (previously it was checked only when MHD was NOT strict). Reject HTTP/1.1 requests without host by default (as per RFC).
* connection.c: cosmeticsEvgeny Grin (Karlson2k)2022-12-21
|
* Always close connection after reply if both Content-Length and chucked are usedEvgeny Grin (Karlson2k)2022-12-19
| | | | | When both headers are used, the real length of the request may not be determined unambiguously, the start of the next request is unclear.
* Refactored cookies parsing.Evgeny Grin (Karlson2k)2022-12-19
| | | | | The new code is more compact as duplicated code was removed. Added testing for various cookies parsing strictness levels.
* MHD_get_version_bin(): added new functionEvgeny Grin (Karlson2k)2022-12-19
|
* parse_http_version(): cosmeticsEvgeny Grin (Karlson2k)2022-12-19
|
* digestauth: avoid malloc() repeat by using the new functionEvgeny Grin (Karlson2k)2022-12-19
|
* response.c: added new internal function to avoid repetitive malloc()sEvgeny Grin (Karlson2k)2022-12-19
|
* Refactored user-poison: minimized scope of non-sanitized codeEvgeny Grin (Karlson2k)2022-11-26
|
* test_upgrade{,_large}: fixed HTTP/1.1 compatibilityEvgeny Grin (Karlson2k)2022-11-24
|
* connection: reject or log requests with both chunked encoding and Content-LengthEvgeny Grin (Karlson2k)2022-11-06
|
* connection: refuse requests with unsupported Transfer-EncodingEvgeny Grin (Karlson2k)2022-11-06
| | | | | The end of the request body (context) cannot be determined if Transfer-Encoding is not supported.
* Fixed macro name spellingEvgeny Grin (Karlson2k)2022-11-06
|
* configure: do not pass AM_TESTS_ENVIRONMENT directlyEvgeny Grin (Karlson2k)2022-10-30
|
* Fixing missing status update after 8565e7a8a9e38ae2a2027624cc12c73ef9628f09Evgeny Grin (Karlson2k)2022-10-28
|
* epoll: make sure that connection waiting for data processing will be processedEvgeny Grin (Karlson2k)2022-10-28
|
* Missing part for f1c69db3000e65a992e33190f3d272a5b9ca7462Evgeny Grin (Karlson2k)2022-10-28
|
* Fixed 699b6cd5636ef7ce2e41b42301fc1b56f9a02f8eEvgeny Grin (Karlson2k)2022-10-28
| | | | | Do not removed connection from eready-list if it is waiting for read and data processing at the same time.
* postprocessor.h: fixed typos in doxyEvgeny Grin (Karlson2k)2022-10-28
|
* connection.c: fixed handling of various errors automatically detected by MHD ↵Evgeny Grin (Karlson2k)2022-10-28
| | | | | | code Make sure that errors replies are processed correctly.
* Reworked partial processing of the uploadEvgeny Grin (Karlson2k)2022-10-22
| | | | | | | | Now if some data has been processed by Access Handler Callback, zero timeout is used for the next turn and at the same time more data is read (if available) from the network. If Access Handler Callback has not processed any data, MHD will wait for additional data to come.
* Do not send "100 Continue" if part of the request body is already receivedEvgeny Grin (Karlson2k)2022-10-22
|
* Do not send "100 Continue" if request does not have a bodyEvgeny Grin (Karlson2k)2022-10-22
|
* Renamed one more connection state for clarityEvgeny Grin (Karlson2k)2022-10-22
|
* Renamed one state in MHD_ConnectionEventLoopInfo for clarityEvgeny Grin (Karlson2k)2022-10-22
|
* Added new state for MHD_ConnectionEventLoopInfoEvgeny Grin (Karlson2k)2022-10-22
|
* New values for MHD_ConnectionEventLoopInfoEvgeny Grin (Karlson2k)2022-10-22
|
* Added check for hypothetical too large accepted sockets addressesEvgeny Grin (Karlson2k)2022-10-14
| | | | Also added warning (instead of rejection) for zero-length addresses.
* Added ability to check for MHD debug builds at run-timeEvgeny Grin (Karlson2k)2022-10-14
|
* Fixed builds with old compilers after 0b9776811f2d8bd1041b759bd84733754bba7b3eEvgeny Grin (Karlson2k)2022-10-13
|
* daemon: added reporting of the position of problem in priorities stringEvgeny Grin (Karlson2k)2022-10-13
|
* daemon: merged processing of two similar optionsEvgeny Grin (Karlson2k)2022-10-13
|
* Added new MHD option to append TLS priorities stringEvgeny Grin (Karlson2k)2022-10-13
| | | | | | The string is appended to default GnuTLS priorities. This way application may control priorities details, while leaving the basic settings to system's defaults.
* TLS: use application-specific system-wide configuration with fallbacksEvgeny Grin (Karlson2k)2022-10-13
| | | | | | | | | | | | | | Implemented more flexible GnuTLS priorities string initialisation. Now MHD tries to use "@LIBMICROHTTPD" configuration at first, so all MHD instances on particular system can be configured by specifying the string like "LIBMICROHTTPD = ..." in GnuTLS system-wide configuration. For example "LIBMICROHTTPD = NORMAL:-VERS-TLS1.0:-VERS-TLS1.1" could be used to disable TLS v1.0 and TLS v1.1 for all MHD instances. If application-specific configuration is not available, then default "@SYSTEM" run-time configuration is used. If "@SYSTEM" is not defined, then GnuTLS build-time default string is used. Standard "NORMAL" configuration is used if everything else fails.
* mhd_assert: use "DEBUG" macro defined by some toolchainsEvgeny Grin (Karlson2k)2022-10-13
|
* digestauth.h: removed leftover in doxyEvgeny Grin (Karlson2k)2022-10-10
|
* MHD_poll(): removed unneeded checkEvgeny Grin (Karlson2k)2022-10-10
| | | | The shutdown flag is handled externally
* daemon: small refactoring for more compact code when poll() is not supportedEvgeny Grin (Karlson2k)2022-10-10
|