aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_http_protocol.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-05-09 22:01:31 +0200
committerLoïc Hoguin <[email protected]>2011-05-09 22:01:31 +0200
commit5d698250b228229001ca9966a390bf1545fcd0b0 (patch)
tree9491764e4c0310f4c0d16cb120b6d64edae9c868 /src/cowboy_http_protocol.erl
parentb3d3045cae8d90257851e87e0073c227656d3ad0 (diff)
downloadcowboy-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