diff options
author | Loïc Hoguin <[email protected]> | 2011-08-09 18:07:57 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2011-08-10 16:43:59 +0200 |
commit | 56369d5c1a0a3141e9d136b2f8010ff0e96bb26c (patch) | |
tree | b4387d0ad61a02348fcd7b64553bb048d6bebb47 /src/cowboy.erl | |
parent | 613890146539d08b52663b6e775b6f83492e29d4 (diff) | |
download | cowboy-56369d5c1a0a3141e9d136b2f8010ff0e96bb26c.tar.gz cowboy-56369d5c1a0a3141e9d136b2f8010ff0e96bb26c.tar.bz2 cowboy-56369d5c1a0a3141e9d136b2f8010ff0e96bb26c.zip |
Introduce cowboy_listener for managing a listener
Currently only supports limiting the maximum number of
connections by managing connection pools.
Diffstat (limited to 'src/cowboy.erl')
-rw-r--r-- | src/cowboy.erl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cowboy.erl b/src/cowboy.erl index 4a82cc1..30730cb 100644 --- a/src/cowboy.erl +++ b/src/cowboy.erl @@ -32,6 +32,11 @@ %% performance. The exact number depends of course on your hardware, on the %% protocol used and on the number of expected simultaneous connections. %% +%% The <em>Transport</em> option <em>max_connections</em> allows you to define +%% the maximum number of simultaneous connections for this listener. It defaults +%% to 1024. See <em>cowboy_listener</em> for more details on limiting the number +%% of connections. +%% %% Although Cowboy includes a <em>cowboy_http_protocol</em> handler, other %% handlers can be created for different protocols like IRC, FTP and more. %% |