config: handle listener unbind/replace in config file
commit0e59330750559e2cb8f81d9568c2100bd5c6aaec
authorEric Wong <normalperson@yhbt.net>
Fri, 10 Apr 2009 07:32:40 +0000 (10 00:32 -0700)
committerEric Wong <normalperson@yhbt.net>
Fri, 10 Apr 2009 17:10:56 +0000 (10 10:10 -0700)
tree7224505a2a0b37f932386d894ed5e046eda9e4cf
parente83756512c44294137ee3362cf131eed70663fb1
config: handle listener unbind/replace in config file

Rather than blindly appending to our listener set
with every "listen" directive read in the config
file, reset our internal array.

Listeners specified on the command-line are always
preserved between config reloads.
lib/unicorn.rb
test/exec/test_exec.rb