diff options
author | Eric Wong <e@80x24.org> | 2013-12-19 11:06:00 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2013-12-19 11:06:00 +0000 |
commit | 2801fb1192d4956ad9d225dd416768d8c8b4c62c (patch) | |
tree | b61b9bb59e941a262a84d007d4c6b5f3388faf9e /extras | |
parent | 457a07844b5bd3fcd8f0887961a1e1495a8a0e87 (diff) | |
download | yahns-2801fb1192d4956ad9d225dd416768d8c8b4c62c.tar.gz |
This was causing zombies on the bogomips.org cgit instance.
Diffstat (limited to 'extras')
-rw-r--r-- | extras/exec_cgi.rb | 7 |
1 files changed, 7 insertions, 0 deletions
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 |