0
Fork 0
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.
Find a file
Loïc Hoguin bbee34fe16 Crash on failure, don't report errors
When something went wrong in a handler we used to report errors
and then terminate the process normally. This doesn't work so
well with links which won't detect failure.

Now we still catch the error, but throw another one with more
details on why it happened, including the Req object information
and the stacktrace. Ranch will then print an error message with
all this information.

Because we crash directly, this also means that we will not hog
resources unnecessarily for too long when something bad happens.
2013-08-24 20:36:23 +02:00
doc Add a simple README in the doc folder for guidance 2013-03-02 20:16:06 +01:00
examples Update Ranch to 0.8.5 2013-08-24 20:35:28 +02:00
guide Minor corrections of the guide 2013-06-27 22:34:56 +02:00
manual Fix qs_vals description on missing value for a name 2013-07-08 14:30:53 -03:00
src Crash on failure, don't report errors 2013-08-24 20:36:23 +02:00
test Merge branch 'fix/websocket-inflate-unmask' of git://github.com/soundrop/cowboy 2013-07-12 21:57:27 +02:00
.gitignore Add .cowboy.plt to the gitignore 2012-04-29 01:20:05 +02:00
AUTHORS Update AUTHORS 2013-06-20 16:01:58 +02:00
CHANGELOG.md Update CHANGELOG 2013-06-20 16:01:58 +02:00
CONTRIBUTING.md Add more details on how to report bugs and vulnerabilities 2013-02-27 18:25:45 +01:00
erlang.mk Update erlang.mk 2013-08-24 20:20:58 +02:00
LICENSE Update LICENSE date 2013-04-30 18:51:18 +02:00
Makefile Update Ranch to 0.8.5 2013-08-24 20:35:28 +02:00
README.md SPDY sponsored by LeoFS 2013-08-23 23:23:04 +02:00
rebar.config Update Ranch to 0.8.5 2013-08-24 20:35:28 +02:00
ROADMAP.md Update ROADMAP 2013-05-24 14:59:30 +02:00

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 parts 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 protocol development is sponsored by LeoFS Cloud Storage.

Getting Started

Support