All Projects → maru → libmicrohttpd-http2

maru / libmicrohttpd-http2

Licence: other
HTTP/2 support for libmicrohttpd

Programming Languages

c
50402 projects - #5 most used programming language
M4
1887 projects
Makefile
30231 projects
shell
77523 projects
C++
36643 projects - #6 most used programming language
powershell
5483 projects

Projects that are alternatives of or similar to libmicrohttpd-http2

Http
Host These Things Please - a basic http server for hosting a folder fast and simply
Stars: ✭ 275 (+1209.52%)
Mutual labels:  https, http2, http-server
Blinksocks
A framework for building composable proxy protocol stack.
Stars: ✭ 587 (+2695.24%)
Mutual labels:  https, protocol, http2
Jetty.project
Eclipse Jetty® - Web Container & Clients - supports HTTP/2, HTTP/1.1, HTTP/1.0, websocket, servlets, and more
Stars: ✭ 3,260 (+15423.81%)
Mutual labels:  https, http2, http-server
Cowboy
Small, fast, modern HTTP server for Erlang/OTP.
Stars: ✭ 6,533 (+31009.52%)
Mutual labels:  https, http2, http-server
tipi
Tipi - the All-in-one Web Server for Ruby Apps
Stars: ✭ 214 (+919.05%)
Mutual labels:  https, http2, http-server
Farwest
Framework for building RESTful HATEOAS-driven applications.
Stars: ✭ 18 (-14.29%)
Mutual labels:  https, http2, http-server
Nginxconfig.io
⚙️ NGINX config generator on steroids 💉
Stars: ✭ 14,983 (+71247.62%)
Mutual labels:  https, http2
Haproxy
HAProxy Load Balancer's development branch (mirror of git.haproxy.org)
Stars: ✭ 2,463 (+11628.57%)
Mutual labels:  https, http2
Http2 Wrapper
Use HTTP2 the same way like HTTP1
Stars: ✭ 183 (+771.43%)
Mutual labels:  https, http2
Aws S3 Proxy
Reverse proxy for AWS S3 with basic authentication.
Stars: ✭ 227 (+980.95%)
Mutual labels:  https, http2
Nuster
A high performance HTTP proxy cache server and RESTful NoSQL cache server based on HAProxy
Stars: ✭ 1,825 (+8590.48%)
Mutual labels:  https, http2
Httpcanary
A powerful capture and injection tool for the Android platform
Stars: ✭ 2,188 (+10319.05%)
Mutual labels:  https, http2
Criollo
A powerful Cocoa web framework and HTTP server for macOS, iOS and tvOS.
Stars: ✭ 229 (+990.48%)
Mutual labels:  https, http-server
Awesome Http Benchmark
HTTP(S) benchmark tools, testing/debugging, & restAPI (RESTful)
Stars: ✭ 2,236 (+10547.62%)
Mutual labels:  https, http2
Siris
DEPRECATED: The community driven fork of Iris. The fastest web framework for Golang!
Stars: ✭ 146 (+595.24%)
Mutual labels:  https, http2
Libhv
🔥 比libevent、libuv更易用的国产网络库。A c/c++ network library for developing TCP/UDP/SSL/HTTP/WebSocket client/server.
Stars: ✭ 3,355 (+15876.19%)
Mutual labels:  https, http-server
Httpp
Micro http server and client written in C++
Stars: ✭ 144 (+585.71%)
Mutual labels:  https, http-server
Tcpprobe
Modern TCP tool and service for network performance observability.
Stars: ✭ 207 (+885.71%)
Mutual labels:  https, http2
esa-httpclient
An asynchronous event-driven HTTP client based on netty.
Stars: ✭ 82 (+290.48%)
Mutual labels:  https, http2
Kvantum
An intellectual (HTTP/HTTPS) web server with support for server side templating (Crush, Apache Velocity and JTwig)
Stars: ✭ 17 (-19.05%)
Mutual labels:  https, http-server

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 (LGPLv3+) and the eCos License. See COPYING for details.

Installation

See INSTALL for generic installation instructions.

If you are using Git, run "autoreconf -fi" 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 beta release for libmicrohttpd. Before declaring the library stable, we should have testcases for the following features:

  • resource limit enforcement
  • client queuing early response, suppressing 100 CONTINUE
  • chunked encoding to validate handling of footers
  • more testing for SSL support
  • MHD basic and digest authentication

In particular, the following functions are not covered by 'make check':

  • mhd_panic_std (daemon.c); special case (abort)
  • parse_options (daemon.c)
  • MHD_set_panic_func (daemon.c)
  • MHD_get_version (daemon.c)

Note that the working library is in src/microhttpd/ with the API in src/include/microhttpd.h. An experimental (read: not yet working at all) newer implementation is in src/lib/, with the new API in src/include/microhttpd2.h. The experimental code will need MUCH more testing and development, you are strongly advised to stick to microhttpd.h unless you are a MHD developer!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].