add add_listener method for use in configs
commit5a842b0621516d4a74dadd391b495eaa6ec60744
authorEric Wong <normalperson@yhbt.net>
Tue, 10 Feb 2009 05:42:07 +0000 (9 21:42 -0800)
committerEric Wong <normalperson@yhbt.net>
Tue, 10 Feb 2009 05:43:35 +0000 (9 21:43 -0800)
tree527cb8f2b52e4f7db00d25dc85a3c42dba78b138
parent2abb663f6e20f9bc0f14ac00c0edeb57bf3f43e0
add add_listener method for use in configs

This makes it possible to bind per-process listener ports for
easier debugging.  One of my biggest gripes about other prefork
webservers is that strace-ing the correct process for debugging
is difficult.  This makes it possible for each worker to bind to
a unique port or UNIX socket independent of the other workers.
lib/unicorn.rb