httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: nph cgi [2]
Date Thu, 22 Jan 2004 20:35:59 GMT
Jeff Trawick wrote:
> pud wrote:
>> okay, please forgive me, s/mod_cgi/mod_ssl/g, sorry...
>>> hey, sorry to disturb you, but,,,
>>> i read in the apache2 changelog that you fixed an streaming bug
>>> in the mod_cgi - but i think it still exists...
>>> (at least in the debian-version)
>>> i can't get cgi::irc to work and always get an timeout-error
>>> if the nph-cgi is called
>>> have you got any hint for me, where to look in the sources
>>> of mod_cgi? ...or anywhere/anything else?
> I don't know much about mod_ssl, but I'd guess the issue is in
> ssl_engine_io.c:ssl_io_filter_output().
> Other filters such as content-length filter know that it is nice to 
> flush data already read to the network when a bucket read would block. 
> However, this filter only flushes to the network with a real flush 
> bucket is received.

why not make things much simpler and avoid all filter related bugs in mod_cgi. 
change mod_cgi to run ap_assbackwards(r, 1) when /nph-/ and you don't have to 
deal with filters at all.

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

View raw message