From 56369d5c1a0a3141e9d136b2f8010ff0e96bb26c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 9 Aug 2011 18:07:57 +0200 Subject: Introduce cowboy_listener for managing a listener Currently only supports limiting the maximum number of connections by managing connection pools. --- src/cowboy.erl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/cowboy.erl') 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 Transport option max_connections allows you to define +%% the maximum number of simultaneous connections for this listener. It defaults +%% to 1024. See cowboy_listener for more details on limiting the number +%% of connections. +%% %% Although Cowboy includes a cowboy_http_protocol handler, other %% handlers can be created for different protocols like IRC, FTP and more. %% -- cgit v1.2.3