• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

build-aux/H19-Dec-2021-29,12923,849

contrib/H03-May-2022-559485

doc/H03-May-2022-23,83219,341

m4/H03-May-2022-16,62015,186

po/H19-Dec-2021-2,3411,958

src/H03-May-2022-148,569105,487

w32/H19-Dec-2021-3,8183,639

ABOUT-NLSH A D19-Dec-202191.8 KiB1,3801,341

AUTHORSH A D19-Dec-20212.7 KiB7773

COPYINGH A D19-Dec-202124.1 KiB465390

ChangeLogH A D19-Dec-2021127.9 KiB3,4692,792

INSTALLH A D19-Dec-202115.4 KiB369287

MHD_config.h.inH A D19-Dec-202119.6 KiB731498

Makefile.amH A D19-Dec-20212.4 KiB5143

Makefile.inH A D03-May-202234.2 KiB1,037926

NEWSH A D19-Dec-202111.2 KiB239211

READMEH A D19-Dec-20213.4 KiB9969

aclocal.m4H A D19-Dec-202142.4 KiB1,1851,079

config.rpathH A D19-Dec-202118.3 KiB691594

configureH A D03-May-2022968.7 KiB34,74328,708

configure.acH A D19-Dec-2021111.5 KiB3,4823,290

libmicrohttpd.pc.inH A D19-Dec-2021329 1513

README

1About
2=====
3
4GNU libmicrohttpd is a GNU package offering a C library that provides
5a compact API and implementation of an HTTP 1.1 web server (HTTP 1.0
6is also supported).  GNU libmicrohttpd only implements the HTTP 1.1
7protocol.  The main application must still provide the application
8logic to generate the content.
9
10GNU libmicrohttpd is dual-licensed under the GNU Lesser General Public
11License (LGPLv2.1+) and the eCos License.  See COPYING for details.
12
13
14Joining GNU
15===========
16
17This is a GNU program, developed by the GNU Project and part of the
18GNU Operating System. If you are the author of an awesome program and
19want to join us in writing Free Software, please consider making it an
20official GNU program and become a GNU maintainer.  You can find
21instructions on how to do so at http://www.gnu.org/help/evaluation.
22We are looking forward to hacking with you!
23
24
25Installation
26============
27
28See INSTALL for generic installation instructions.
29
30If you are using Git, run "autoreconf -fi" to create configure.
31
32In order to run the testcases, you need a recent version of libcurl.
33libcurl is not required if you just want to install the library.
34
35Especially for development, do use the MHD_USE_ERROR_LOG option to get
36error messages.
37
38
39Configure options
40=================
41
42
43If you are concerned about space, you should set "CFLAGS" to "-Os
44-fomit-frame-pointer" to have gcc generate tight code.
45
46You can use the following options to disable certain MHD features:
47
48--disable-https: no HTTPS / TLS / SSL support (significant reduction)
49--disable-messages: no error messages (they take space!)
50--disable-postprocessor: no MHD_PostProcessor API
51--disable-dauth: no digest authentication API
52--disable-epoll: no support for epoll, even on Linux
53
54The resulting binary should be about 30-40k depending on the platform.
55
56
57Portability
58===========
59
60The latest version of libmicrohttpd will try to avoid SIGPIPE on its
61sockets.  This should work on OS X, Linux and recent BSD systems (at
62least).  On other systems that may trigger a SIGPIPE on send/recv, the
63main application should install a signal handler to handle SIGPIPE.
64
65libmicrohttpd should work well on GNU/Linux, W32, FreeBSD, Darwin,
66NetBSD, OpenBSD, Solaris/OpenIndiana, and z/OS.
67Note that HTTPS is not supported on z/OS (yet).  We also have reports
68of users using it on vxWorks.
69
70
71Development Status
72==================
73
74This is a beta release for libmicrohttpd.  Before declaring the
75library stable, we should have testcases for the following features:
76
77- HTTP/1.1 pipelining (need to figure out how to ensure curl pipelines
78  -- and it seems libcurl has issues with pipelining,
79  see http://curl.haxx.se/mail/lib-2007-12/0248.html)
80- resource limit enforcement
81- client queuing early response, suppressing 100 CONTINUE
82- chunked encoding to validate handling of footers
83- more testing for SSL support
84- MHD basic and digest authentication
85
86In particular, the following functions are not covered by 'make check':
87- mhd_panic_std (daemon.c); special case (abort)
88- parse_options (daemon.c)
89- MHD_set_panic_func (daemon.c)
90- MHD_get_version (daemon.c)
91
92
93Note that the working library is in src/microhttpd/ with the API in
94src/include/microhttpd.h.  An *experimental* (read: not yet working
95at all) newer implementation is in src/lib/, with the new API in
96src/include/microhttpd2.h.  The experimental code will need MUCH
97more testing and development, you are strongly advised to stick
98to microhttpd.h unless you are a MHD developer!
99