Closed GoogleCodeExporter closed 8 years ago
Don't create new issues. Add your comments to the existing issue 208.
I said take it up with the 'Apache developers list', meaning the 'Apache HTTPD
developers list'. I didn't suggest logging a bug report and certainly not
something against the Apache runtime library product, which is distinct from
the Apache HTTPD project with HTTPD merely being a user of that library.
The issue still remains, that Apache HTTPD code itself doesn't check return
values from memory pool allocations. I use the exact same pool that Apache
HTTPD code creates for a request. I don't create my own memory pools.
As such, I am following the existing practice that Apache HTTPD itself follows
and will be continue to be guided by what they do. If you can get them to
change how they do things in there code then you will get more traction as far
as me changing the code.
Right now though, there is just as much risk, if not more, that exhaustion of
memory will cause HTTPD itself to crash before mod_wsgi code crashes, because
they have many many more calls that are unchecked that I do and many of them
preceding mod_wsgi even getting to run for a request.
So, go to:
http://httpd.apache.org/lists.html
and get yourself on:
dev@httpd.apache.org
and ask the HTTPD developers as a matter of policy why they do not check the
pointer returned from calls to allocate memory from pools.
Also validate whether or not HTTPD sets an abort_fn on the memory pool
allocated for a request. I cant see that it is, but it may and if it does and
it causes process exit in some way, your complaints are meaningless as the
function would never return in the first place as process would be killed.
I am on that HTTPD developers list so will see any discussion.
Original comment by Graham.Dumpleton@gmail.com
on 1 Sep 2010 at 3:42
Original issue reported on code.google.com by
db.pub.m...@gmail.com
on 1 Sep 2010 at 3:21