aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* avoid sprintfChristian Grothoff2018-11-18
|
* fix format string, prefer snprintfChristian Grothoff2018-11-18
|
* fix format string, prefer snprintfChristian Grothoff2018-11-18
|
* fix build issue with GnuTLS < 3.0Christian Grothoff2018-11-14
|
* From: Christian Hesse <mail@eworm.de>Christian Grothoff2018-11-12
| | | | | | | | | | | | | | | | | | | | | Date: Thu, 8 Nov 2018 00:15:29 +0100 Subject: [PATCH 1/1] fix tests with curl Starting with curl 7.62.0 some tests fail. The commit in question is 46e16406 [0] ("url: use the URL API internally as well"). Analyzing the changed behavior reveals that the url given to curl_easy_setopt() with CURLOPT_URL is no longer encoded. Looking at the documentation [1] this behavior is correct, the "parameter should be a char * to a zero terminated string which must be URL-encoded [...]". So let's just give a valid url... [0] https://github.com/curl/curl/commit/46e164069d1a5230e4e64cbd2ff46c46cce056bb [1] https://curl.haxx.se/libcurl/c/CURLOPT_URL.html Signed-off-by: Christian Hesse <mail@eworm.de> Signed-off: CG
* fix ftbfsChristian Grothoff2018-11-12
|
* 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
|/
* initialize epoll_fd even if we have no listen fd, patch by Jose BolloChristian Grothoff2018-11-01
|
* force setting MHD_USE_ITC if using thread-per-connection and ↵Christian Grothoff2018-10-29
| | | | notify_completed for timely notifications
* fix possibly bad clearing of client_aware flagChristian Grothoff2018-10-29
|
* notify main thread about thread termination for instant clean upChristian Grothoff2018-10-20
|
* add --enable-experiemental option to not compile src/lib/ unless explicitly ↵Christian Grothoff2018-10-18
| | | | requested
* 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.
* improve comments, cosmeticsilvioprog2018-10-09
|
* Style fixes.silvioprog2018-10-09
|
* fix #5411Christian Grothoff2018-10-05
|
* Fixed compiler warning on W32Evgeny Grin (Karlson2k)2018-09-26
|
* Fixed build without HTTPS supportEvgeny Grin (Karlson2k)2018-09-26
|
* fix linker error with --with-gnutls path for mhd2 libChristian Grothoff2018-09-12
|
* clean up use of GNUTLS linker options in various places, re-add SAVE_LIBS ↵Christian Grothoff2018-09-11
| | | | restoration to configure.ac to avoid linking indiscriminately against GnuTLS
* fix test in testcaseChristian Grothoff2018-08-18
|
* style fixesChristian Grothoff2018-08-18
|
* fix a few more compiler warningsChristian Grothoff2018-08-18
|
* fix typoChristian Grothoff2018-08-18
|
* polish configure.ac, use AS_IF where appropriateChristian Grothoff2018-08-18
|
* add missing breakChristian Grothoff2018-08-18
|
* fix where we call gnutls_session_set_ptr to prevent NPE (#5427)Christian 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
|
* applying W32 fix suggested by TimChristian Grothoff2018-06-26
|
* check response allocation succeeded when generating internal errorsChristian Grothoff2018-06-22
|
* some minor code cleaning issuesChristian Grothoff2018-06-22
|
* mark bug, too tired to fix right nowChristian Grothoff2018-03-25
|
* Merge branch 'master' of gnunet.org:libmicrohttpdChristian Grothoff2018-03-25
|\
| * Cosmetic fix.silvioprog2018-03-24
| |
* | fix bugChristian Grothoff2018-03-25
|/
* fix c90 warningChristian Grothoff2018-03-23
|
* Fix race condition in test_get_sendfile/test_get_sendfile11Tim Rühsen2018-03-15
|
* add missing mhd_winsock_inited_ to src/lib/init.cTim Rühsen2018-03-15
|
* add suspend_resume_epoll example (from mailinglist)Christian Grothoff2018-03-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
* fix FTBFS issues on MinGWChristian Grothoff2018-03-10
|
* fix misc build issues if various features (poll/epoll/upgrade-support) are ↵Christian Grothoff2018-03-05
| | | | disabled
* check for dlfcn.h presenceChristian Grothoff2018-03-04
|
* fix build issue in absence of epollChristian Grothoff2018-03-04
|
* do not use MHD_NONNULL on w32Christian Grothoff2018-03-04
|
* fix 'race' between MHD_epoll and MHD_daemon_quiesce on epoll listen FD ↵Christian Grothoff2018-03-02
| | | | removal, resolve simply by allowing syscall to fail with ENOENT