C嵌入式 HTTP 服务器,GNU libmicrohttpd 0.9.28 发布

jopen 11年前

GNU libmicrohttpd 是一个小型的嵌入式 HTTP 服务器 的 C 类库,支持 HTTP 1.1 可以同时侦听多个端口。

  • 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
  • Four different threading models (select, poll, pthread, thread pool)
  • Supported platforms include GNU/Linux, FreeBSD, OpenBSD, NetBSD, OS X, W32, Symbian and z/OS
  • Support for IPv6
  • Support for SHOUTcast
  • Support for incremental processing of POST data (optional)
  • Support for basic and digest authentication (optional)
  • Support for SSL3 and TLS (requires libgcrypt and libgnutls, optional)
  • Binary is only about 32k (without TLS/SSL support and other optional features)

发布说明:此版本增加的支持的基于epoll事件循环(仅限Linux),增加了各种新的选项(MHD_USE_DUAL_STACK同时在IPv4与IPv6结合。MHD_USE_PIPE_FOR_SHUTDOWN to cleanly support MHD_quiesce_daemon on non-Linux systems, MHD_CONNECTION_INFO_CONNECTION_FD to allow COMET applications to disable TCP Nagle, MHD_OPTION_CONNECTION_MEMORY_INCREMENT for better control over buffer size allocations), and fixes various minor bugs.