Free and small HTTP server library
libmicrohttpd was started because the author needed an easy way to add a concurrent HTTP server to other projects. Existing alternatives were either non-free, not reentrant, standalone, of terrible code quality or a combination thereof.
Do not use libmicrohttpd if you are looking for a standalone http server, there are many other projects out there that provide that kind of functionality already. However, if you want to be able to serve simple WWW pages from within your C or C++ application, check it out.
- C library: fast and small
- API is simple, expressive and fully reentrant
- Implementation is http 1.1 compliant
- HTTP server can listen on multiple ports
- Support for IPv6
- Support for incremental processing of POST data
- Creates binary of only 30k (without TLS/SSL support)
- Three different threading models
- Supported platforms include GNU/Linux, FreeBSD, OpenBSD, NetBSD, OS X, W32 and z/OS
- Optional support for SSL3 and TLS (requires libgcrypt)
In a hurry? Add it to your Download Basket!
What's New in This Release:
- Properly decode '+' in URL-encoded POST data. -CG/KM
- Fix --disable-dauth configure option (#3543). -doostee
- Fix failure to terminate 'instantly' in thread-per-connection mode if there is a client with open connections.
- Actually, avoid locking on response as responses must not be modified in a connection-specific way; instead modify the connection's data buffer to add missing responses headers.