httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail T." <>
Subject What happens, when a CGI program is invoked?
Date Wed, 05 Dec 2012 03:57:51 GMT

 From my (limited) investigation, it would appear, that in order to 
invoke a vanilla CGI script, httpd is created and goes through all of 
the modules' initialization and then, immediately, clean-up functions...

Is that right? Some of these callbacks are fairly heavy and, in most 
cases, the init/destroy cycle is useless... Both websh and mod_rivet, 
for example, seem to initialize a Tcl-interpreter first only destroy it 
afterwards -- completely pointless, when a CGI-script is invoked.

Perhaps, it is possible to somehow bypass entering all/most of the 
modules, when processing a CGI request? Thanks!


View raw message