aboutsummaryrefslogtreecommitdiff
path: root/src/include/microhttpd.h
Commit message (Collapse)AuthorAge
* preliminary implementation for RFC 7616 supportChristian Grothoff2018-12-08
|
* add build option to compile MHD without threadsChristian Grothoff2018-12-07
|
* Renamed all occurrences from _model(s)_ to _mode(s)_.silvioprog2018-12-06
|
* releasing 0.9.61Christian Grothoff2018-11-20
|
* add MHD_create_response_from_buffer_with_free_callbackChristian Grothoff2018-11-08
|\
| * releasing libmicrohttpd 0.9.60v0.9.60Christian Grothoff2018-11-06
| |
* | add MHD_create_response_from_buffer_with_free_callbackChristian Grothoff2018-11-08
|/
* From: Gauthier Haderer <ghaderer@wyplay.com>Christian Grothoff2018-10-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Date: Mon, 15 Oct 2018 14:11:39 +0200 Subject: [PATCH] Add response flag to force version to 1.0 and maintain connection management. The existing MHD_RF_HTTP_VERSION_1_0_ONLY flag already changes MHD's behavior to apply HTTP 1.0 rules for connection management. When enabled, MHD sends a response using the same version as used in the request (is this normal?). What I want is MHD responding as a HTTP 1.0 server with support for connection management headers would do. This is what the MHD_RF_HTTP_VERSION_1_0_RESPONSE response flag is for. You can even combine it with MHD_RF_HTTP_VERSION_1_0_ONLY to change the response's HTTP version while maintaining strict compliance with HTTP 1.0 regarding connection management. This solution is not perfect as this flag is set on the response which is created after header processing. So MHD will behave as a HTTP 1.1 server until the response is queued. It means that an invalid HTTP 1.1 request will fail even if the response is sent with HTTP 1.0 and the request would be valid if interpreted with this version. For example, this request will fail in strict mode: GET /dummy HTTP/1.1 as the Host header is missing and is mandatory in HTTP 1.1, but it should succeed when interpreted with HTTP 1.0. I don't think this is a big issue in practice. Besides, being able to change the HTTP version on a response basis is really convenient when using MHD in a test framework where we need to validate a client against HTTP 1.1 AND HTTP 1.0.
* style fixesChristian Grothoff2018-08-18
|
* Small spell correction.silvioprog2018-07-31
|
* integrate TLS PSK patch from Tal Moaz (plus documentation, plus style and ↵Christian Grothoff2018-07-14
| | | | bugfixes
* add support for digest auth with hashed passwordChristian Grothoff2018-07-14
|
* Hi Christian,Christian Grothoff2018-03-14
| | | | | | | | | | | | | | Thank you! Very cool to see the example working. Funny, I implemented MHD_get_timeout in the main loop in my project but in all my tests it always returned MHD_NO, so I assumed it was not applicable to my use case and didn't include it in the example I wrote. But I didn't make the connection that it *also* had to be called after MHD_resume_connection until your response here. Would you consider the attached patch? It adds one line to the docs that I'm quite sure would have pointed me in the right direction had it been there before. Thanks! Bob
* expand strictness to cover spaces in URLChristian Grothoff2018-03-01
|
* call completion handler also for upgrade connectionsChristian Grothoff2018-02-27
|
* fixing #5278 as suggested by reporterChristian Grothoff2018-02-16
|
* getting ready for 0.9.59v0.9.59Christian Grothoff2018-02-01
|
* fix #5260 as suggested by reporterChristian Grothoff2018-01-29
|
* fix warnings for __clang_major__ for non-clang compilersChristian Grothoff2018-01-04
|
* Doxygen fixesEvgeny Grin (Karlson2k)2017-12-11
|
* Releasing GNU libmicrohttpd 0.9.58v0.9.58Evgeny Grin (Karlson2k)2017-12-07
|
* Releasing GNU libmicrohttpd 0.9.57v0.9.57Evgeny Grin (Karlson2k)2017-11-27
|
* releasing libmicrohttpd 0.9.56v0.9.56Christian Grothoff2017-11-24
|
* Improved doxy for MHD_free() and MHD_digest_auth_get_username()Evgeny Grin (Karlson2k)2017-11-23
|
* Added MHD_FEATURE_SENDFILE test featureEvgeny Grin (Karlson2k)2017-11-23
|
* add MHD_free(), actual 'code' and symbol exportChristian Grothoff2017-10-09
|
* add MHD_free(), as suggested by Tim on the mailinglistChristian Grothoff2017-10-09
|
* further adaptations to API based on discussions with EGChristian Grothoff2017-09-12
|
* Additional clarification about MHD_get_timeout().Evgeny Grin (Karlson2k)2017-09-08
|
* Updated doxy about MHD_get_timeout()Evgeny Grin (Karlson2k)2017-09-08
|
* propsing NG API for MHDChristian Grothoff2017-07-18
|
* Added new value MHD_FEATURE_AUTOSUPPRESS_SIGPIPE for MHD_is_feature_supported()Evgeny Grin (Karlson2k)2017-07-13
|
* MHD_get_daemon_info(): return bind port number by MHD_DAEMON_INFO_BIND_PORTEvgeny Grin (Karlson2k)2017-06-16
|
* MHD_start_daemon(): added port autodetection if '0' (autoselect) is used for ↵Evgeny Grin (Karlson2k)2017-06-16
| | | | | | port number, Added new MHD_FEATURE value MHD_FEATURE_AUTODETECT_BIND_PORT.
* annotate arguments as in/outChristian Grothoff2017-06-04
|
* MHD_add_connection(): updated doxy to reflect that per-IP-limit actually is ↵Evgeny Grin (Karlson2k)2017-06-04
| | | | | | NOT ignored. Skipping of per-IP-limit could be easily implemented by request.
* Releasing GNU libmicrohttpd 0.9.55v0.9.55Evgeny Grin (Karlson2k)2017-05-28
|
* Added more comments for start upgrade callback function.Evgeny Grin (Karlson2k)2017-05-15
|
* Resume resuming connection before other processing in external polling modeEvgeny Grin (Karlson2k)2017-05-11
|
* microhttpd.h: deprecate unused MHD_RESPONSE_HEADER_KIND valueEvgeny Grin (Karlson2k)2017-05-06
|
* documentation, adding MHD_CONNECTION_INFO_REQUEST_HEADER_SIZE, releasing 0.9.54Christian Grothoff2017-05-02
|
* Replaced flags MHD_USE_PEDANTIC_CHECKS and MHD_USE_PERMISSIVE_CHECKS byEvgeny Grin (Karlson2k)2017-04-27
| | | | single option MHD_OPTION_STRICT_FOR_CLIENT.
* relax space-in-field-name checks only if new MHD_USE_PERMISSIVE_CHECKS flag ↵Christian Grothoff2017-04-24
| | | | is set
* replace sprintf() with MHD_snprintf_()Christian Grothoff2017-04-23
|
* Releasing GNU libmicrohttpd 0.9.53v0.9.53Evgeny Grin (Karlson2k)2017-04-11
|
* clarify commentChristian Grothoff2017-04-11
|
* clarify when it is ok to call MHD_get_fdset in documentation, document ↵Christian Grothoff2017-03-21
| | | | MHD_get_fdset2()
* Do not update last activity time on connections without timeout timerEvgeny Grin (Karlson2k)2017-03-16
|
* Fixed thread-safety of MHD_get_daemon_info() for ↵Evgeny Grin (Karlson2k)2017-03-16
| | | | | | MHD_DAEMON_INFO_CURRENT_CONNECTIONS, Updated MHD_DAEMON_INFO_CURRENT_CONNECTIONS description
* Added MHD_DAEMON_INFO_FLAGS to get daemon's flags by MHD_get_daemon_info()Evgeny Grin (Karlson2k)2017-03-16
|