mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Small, fast, modern HTTP server for Erlang/OTP.
cowboyerlangfunctionalhigh-performancehttphttp-serverhttp2http2-serverhttpsproduction-readyrestwebweb-frameworkwebsocketwebsocket-serverwebsockets
![]() Adds a loop_handler test suite that runs all tests under HTTP, HTTPS, SPDY each with and without the compress option enabled. Fixes output filtering that used to filter more than it should have. This forces us to parse the string sent by the emulator, which means it's probably not perfect yet. But it should at least not hide errors we want to see. Fix a crash in the output filtering code that entirely disabled output. Now when there is a crash the normal tty output is restored. Handlers are now in test/handlers/ as they can be reused between suites. Only generate a single certificate for the whole ct run to speed things up when we got many different test groups each needing certificates. |
||
---|---|---|
examples | ||
guide | ||
manual | ||
src | ||
test | ||
.gitignore | ||
all.sh | ||
AUTHORS | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
erlang.mk | ||
LICENSE | ||
Makefile | ||
README.md | ||
rebar.config | ||
ROADMAP.md |
Cowboy
Cowboy is a small, fast and modular HTTP server written in Erlang.
Goals
Cowboy aims to provide a complete HTTP stack in a small code base. It is optimized for low latency and low memory usage, in part because it uses binary strings.
Cowboy provides routing capabilities, selectively dispatching requests to handlers written in Erlang.
Because it uses Ranch for managing connections, Cowboy can easily be embedded in any other application.
No parameterized module. No process dictionary. Clean Erlang code.
Sponsors
The SPDY implementation was sponsored by LeoFS Cloud Storage.
The project is currently sponsored by Kato.im.
Getting Started
- Read the guide
- Check the manual
- Look at the examples in the
examples/
directory
Support
- Official IRC Channel: #ninenines on irc.freenode.net
- Mailing Lists
- Commercial Support