0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 04:30:25 +00:00

Introduce cowboy_listener for managing a listener

Currently only supports limiting the maximum number of
connections by managing connection pools.
This commit is contained in:
Loïc Hoguin 2011-08-09 18:07:57 +02:00
parent 6138901465
commit 56369d5c1a
5 changed files with 192 additions and 28 deletions

View file

@ -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.
%%