From 9b619085ff7db92c1a76ad5e84911e95cae8c9d8 Mon Sep 17 00:00:00 2001 From: Krzysztof Urbaniak Date: Fri, 5 Apr 2013 01:44:30 +0200 Subject: [PATCH] after socket activation remove LISTEN_FDS and LISTEN_PID environment variables --- lib/puma/binder.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/puma/binder.rb b/lib/puma/binder.rb index a1ad2ac4..a992425c 100644 --- a/lib/puma/binder.rb +++ b/lib/puma/binder.rb @@ -68,6 +68,8 @@ module Puma end @inherited_fds[url] = sock end + ENV.delete k + ENV.delete 'LISTEN_PID' end end