1
0
Fork 0
mirror of https://git.gnunet.org/libmicrohttpd.git synced 2025-12-06 06:04:06 +00:00
No description
Find a file
Christian Grothoff ba8f88fcb4
fix #10483
2025-10-12 11:06:02 +02:00
contrib make-dist.sh: allowed Debian trixie/sid 2024-01-29 22:11:16 +01:00
doc fix example FTBFS 2025-09-16 11:05:23 +02:00
m4 mhd_sys_extentions.m4: more fixed for older autoconf 2024-08-22 11:04:25 +02:00
po fix double-close() bug reported by MC on the mailinglist 2025-07-14 17:06:25 +02:00
src fix indentation 2025-10-12 10:57:21 +02:00
w32 W32 VS: simplified custom MHD_config.h 2024-02-01 14:37:33 +01:00
.dir-locals.el .dir-locals.el: fixed language for dictionary 2019-04-18 23:59:01 +03:00
.gitattributes Updated .gitattributes 2022-04-21 13:40:09 +03:00
.gitignore Updated .gitignore 2024-01-29 22:29:21 +01:00
.gitlab-ci.yml Remove tags from .gitlab-ci.yml 2024-06-14 21:19:15 +02:00
.gitmodules Add build-common submodule. 2019-11-02 16:11:25 +00:00
AUTHORS Added Lawrence Sebald to the AUTHORS file 2021-10-23 13:42:36 +03:00
autogen.sh bootstrap script: improved portability 2023-06-01 09:08:43 +03:00
bootstrap bootstrap: better support Gentoo and MinGW 2024-04-24 23:49:07 +02:00
ChangeLog fix double-close() bug reported by MC on the mailinglist 2025-07-14 17:06:25 +02:00
configure.ac fix #10483 2025-10-12 11:06:02 +02:00
COPYING Updated README and COPYING 2019-05-06 11:58:36 +03:00
funding.json -test 2024-10-16 21:49:55 +02:00
libmicrohttpd.pc.in configure.ac: add support for GnuTLS pkg-config 2015-03-13 11:18:48 +00:00
Makefile.am -typos 2023-06-03 12:58:55 +02:00
NEWS fix double-close() bug reported by MC on the mailinglist 2025-07-14 17:06:25 +02:00
README remove pre-1.0 comment 2025-08-31 20:43:26 +02:00
SECURITY.md add SECURITY.md 2025-09-23 17:54:19 +02:00

About
=====

GNU libmicrohttpd is a GNU package offering a C library that provides
a compact API and implementation of an HTTP 1.1 web server (HTTP 1.0
is also supported).  GNU libmicrohttpd only implements the HTTP 1.1
protocol.  The main application must still provide the application
logic to generate the content.

GNU libmicrohttpd is dual-licensed under the GNU Lesser General Public
License (LGPLv2.1+) and the eCos License.  See COPYING for details.


Joining GNU
===========

This is a GNU program, developed by the GNU Project and part of the
GNU Operating System. If you are the author of an awesome program and
want to join us in writing Free Software, please consider making it an
official GNU program and become a GNU maintainer.  You can find
instructions on how to do so at http://www.gnu.org/help/evaluation.
We are looking forward to hacking with you!


Installation
============

See INSTALL for generic installation instructions.

If you are using Git, run "./bootstrap" to create configure.

In order to run the testcases, you need a recent version of libcurl.
libcurl is not required if you just want to install the library.

Especially for development, do use the MHD_USE_ERROR_LOG option to get
error messages.


Configure options
=================


If you are concerned about space, you should set "CFLAGS" to "-Os
-fomit-frame-pointer" to have gcc generate tight code.

You can use the following options to disable certain MHD features:

--disable-https: no HTTPS / TLS / SSL support (significant reduction)
--disable-messages: no error messages (they take space!)
--disable-postprocessor: no MHD_PostProcessor API
--disable-dauth: no digest authentication API
--disable-epoll: no support for epoll, even on Linux

The resulting binary should be about 30-40k depending on the platform.


Portability
===========

The latest version of libmicrohttpd will try to avoid SIGPIPE on its
sockets.  This should work on OS X, Linux and recent BSD systems (at
least).  On other systems that may trigger a SIGPIPE on send/recv, the
main application should install a signal handler to handle SIGPIPE.

libmicrohttpd should work well on GNU/Linux, W32, FreeBSD, Darwin,
NetBSD, OpenBSD, Solaris/OpenIndiana, and z/OS.
Note that HTTPS is not supported on z/OS (yet).  We also have reports
of users using it on vxWorks.


Development Status
==================

This is a stable release for libmicrohttpd.