httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29528] - cgi output getting buffered causing 150MB+ memory usage
Date Fri, 11 Jun 2004 18:09:42 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29528>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29528

cgi output getting buffered causing 150MB+ memory usage





------- Additional Comments From mh@nadir.org  2004-06-11 18:09 -------
Another thing that I forgot, is that the CGI gets called via mod_rewrite, an
internal rewrite so that a browser request of something like:

/128/20040610.23.00-01.15.mp3 will get mapped to

/cgi-bin/archive.cgi?rate=128&range=20040610.23.00-01.15&codec=mp3

Here are the rewrite rules that allows this to happen:

RewriteEngine On
RewriteRule "^([0-9]+)/([a-z0-9]+)\.([-0-9:\.]+)\.pls$"
/cgi-bin/pls.cgi?rate=$1&range=$3&codec=$2
[L,E=QUERY_STRING:rate=$1&range=$3&codec=$2]
#RewriteRule "^([0-9]+)/([-0-9:\.]+)\.mp3$" /cgi-bin/mp3.cgi?rate=$1&range=$2
[L,E=QUERY_STRING:rate=$1&range=$2]
RewriteRule "^([0-9]+)/([a-z0-9]+)\.([-0-9:\.]+)\.m3u$"
/cgi-bin/m3u.cgi?rate=$1&range=$3&codec=$2
[L,E=QUERY_STRING:rate=$1&range=$3&codec=$2]
RewriteRule "^([0-9]+)/([-0-9:\.]+)\.test$"
/cgi-bin/archive2.cgi?rate=$1&range=$2&codec=mp3
[L,E=QUERY_STRING:rate=$1&range=$2&codec=mp3]
RewriteRule "^([0-9]+)/([-0-9:\.]+)\.(...)$"
/cgi-bin/archive.cgi?rate=$1&range=$2&codec=$3
[L,E=QUERY_STRING:rate=$1&range=$2&codec=$3]

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message