about summary refs log tree commit homepage
path: root/GIT-VERSION-GEN
diff options
context:
space:
mode:
authorMicah Chalmer <micah@micahchalmer.net>2013-06-06 23:03:36 -0400
committerEric Wong <normalperson@yhbt.net>2013-06-07 09:16:57 +0000
commit56b0c0c3d26304beeef54d8fe95bead97424f147 (patch)
treefafd4255bcdb39fc8c3f6482174aad77029e1134 /GIT-VERSION-GEN
parent421f5a8573484b1203fceebc65aee5d011d63c63 (diff)
downloadunicorn-56b0c0c3d26304beeef54d8fe95bead97424f147.tar.gz
This fixes the -N (a.k.a. --no-defaut-middleware) option, which
was not working.  The problem was that Unicorn::Configurator::RACKUP
is cleared before the lambda returned by Unicorn.builder is run,
which means that checking whether the :no_default_middleware option
was set from the lambda could not detect anything.  This patch copies
it to a local variable that won't get clobbered, restoring the feature.

[ew: squashed test commit into the fix, whitespace fixes]

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'GIT-VERSION-GEN')
0 files changed, 0 insertions, 0 deletions