diff options
author | Loïc Hoguin <[email protected]> | 2011-05-09 22:01:31 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2011-05-09 22:01:31 +0200 |
commit | 5d698250b228229001ca9966a390bf1545fcd0b0 (patch) | |
tree | 9491764e4c0310f4c0d16cb120b6d64edae9c868 /src/cowboy_http_protocol.erl | |
parent | b3d3045cae8d90257851e87e0073c227656d3ad0 (diff) | |
download | cowboy-5d698250b228229001ca9966a390bf1545fcd0b0.tar.gz cowboy-5d698250b228229001ca9966a390bf1545fcd0b0.tar.bz2 cowboy-5d698250b228229001ca9966a390bf1545fcd0b0.zip |
Add a max_connections transport option.
Limits the number of parallel requests processed at once.
Waiting requests are kept in the accept queue.
The limit is not explicitly observed, but it should be
around the given value at any time. Defaults to 1024.
Thanks to ostinelli's benchmark to point out the issue hopefully
solved by this and the previous commit.
Diffstat (limited to 'src/cowboy_http_protocol.erl')
0 files changed, 0 insertions, 0 deletions