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 14321] - memory leak in mod_deflate with dynamic content
Date Thu, 07 Nov 2002 22:12:48 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14321>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14321

memory leak in mod_deflate with dynamic content





------- Additional Comments From kfranken@decisionmark.com  2002-11-07 22:12 -------
The problem seems to be the apr_brigade_destroy(bb) call on the next to last
line of deflate_out_filter(). If I remove this call, the leak stops. 

Someone with more familiarity with the code might be able to confirm this, but I
think the apr_brigade_destroy() call unregisters the brigade from the pool
cleanup. This would be OK (since we are cleaning it up manually), but the last
time the filter is called (with an EOS bucket), the function exits w/o a last
apr_brigade_destroy() call, so the last bucket brigade leaks.

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


Mime
View raw message