You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by rl...@apache.org on 2020/02/25 13:13:42 UTC

[celix-site] branch master updated: Updated download.cgi to not fork a new process

This is an automated email from the ASF dual-hosted git repository.

rlenferink pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/celix-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 5df6d4b  Updated download.cgi to not fork a new process
5df6d4b is described below

commit 5df6d4b79928af610f1e26ccf07ae70c7bf1e59b
Author: Roy Lenferink <le...@gmail.com>
AuthorDate: Tue Feb 25 14:13:36 2020 +0100

    Updated download.cgi to not fork a new process
    
    This would lower pressure and you don't have a CGI process just waiting for another forked process.
    
    Suggested by Uwe Schindler (uschindler): https://the-asf.slack.com/archives/CBX4TSBQ8/p1582635948070300
---
 source/download.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/download.cgi b/source/download.cgi
index 06a42f2..07ee937 100644
--- a/source/download.cgi
+++ b/source/download.cgi
@@ -3,4 +3,4 @@
 # (we must change to that directory in order for python to pick up the
 #  python includes correctly)
 cd /www/www.apache.org/dyn/mirrors
-/www/www.apache.org/dyn/mirrors/mirrors.cgi $*
+exec /www/www.apache.org/dyn/mirrors/mirrors.cgi $*