0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00
Small, fast, modern HTTP server for Erlang/OTP.
Find a file
James Fish b61f535134 Fix to prevent loop handler awakening immediately after response sent
If a loop handler sent a response (e.g. cowboy_req:chunked_reply/2,/3)
and then returns {loop, Req, HandlerState, hibernate} it
would have a {cowboy_req, resp_sent} message in its message queue. This
message would cause the process to immediately awaken, so it is flushed
before hibernation.
2013-02-22 18:36:13 +00:00
doc Update version to 0.6.0 2012-05-23 14:53:48 +02:00
examples Merge branch 'eventsource_example' of git://github.com/acammack/cowboy 2013-02-16 15:11:56 +01:00
guide Add cowboy:set_env/3 2013-02-20 12:14:21 +01:00
src Fix to prevent loop handler awakening immediately after response sent 2013-02-22 18:36:13 +00:00
test Add cowboy:set_env/3 2013-02-20 12:14:21 +01:00
.gitignore Add .cowboy.plt to the gitignore 2012-04-29 01:20:05 +02:00
AUTHORS Update AUTHORS 2013-02-22 15:24:13 +01:00
CHANGELOG.md Update CHANGELOG 2013-02-22 15:32:58 +01:00
CONTRIBUTING.md Add note about 80 columns max to CONTRIBUTING file 2013-02-06 22:28:44 +01:00
LICENSE Update version to 0.6.0 2012-05-23 14:53:48 +02:00
Makefile Added warn compile options. Fixed compile warnings. 2013-02-21 18:32:23 +04:00
README.md Salvage the README and move parts into the guide 2013-01-03 16:01:49 +01:00
rebar.config Update Ranch to 0.6.1 2013-01-29 01:20:16 +01:00
ROADMAP.md Add a REST point on the roadmap 2013-02-11 09:37:55 +01: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.

Getting Started

  • Read the guide
  • Look at the examples in the examples/ directory
  • Build API documentation with make docs; open doc/index.html

Support