From 2801fb1192d4956ad9d225dd416768d8c8b4c62c Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 19 Dec 2013 11:06:00 +0000 Subject: extras/exec_cgi: document dependency on current rack.git This was causing zombies on the bogomips.org cgit instance. --- extras/exec_cgi.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/extras/exec_cgi.rb b/extras/exec_cgi.rb index 6924698..c29e6e1 100644 --- a/extras/exec_cgi.rb +++ b/extras/exec_cgi.rb @@ -4,6 +4,13 @@ # # if running under yahns, worker_processes is recommended to avoid conflicting # with the SIGCHLD handler in yahns. + +# Be careful if using Rack::Deflater, this needs the following commit +# (currently in rack.git, not yet in 1.5.2): +# commit 7bda8d485b38403bf07f43793d37b66b7a8281d6 +# (delfater: ensure that parent body is always closed) +# Otherwise you will get zombies from HEAD requests which accept compressed +# responses. class ExecCgi class MyIO < Kgio::Pipe attr_writer :my_pid -- cgit v1.2.3-24-ge0c7