On 12/21/06, Chad Whitacre <[EMAIL PROTECTED]> wrote:
Jeremy,
> mod_python does a good job of isolating errors on one request from
> another request.
Is that mod_python or is that the prefork MPM?
I've never had to care. :) A quick poke through mod_python.c shows
mod_py tries to be resilient:
...
resultobject = PyObject_CallMethod(idata->obcallback,
"HandlerDispatch", "O",
request_obj);
/* release the lock and destroy tstate*/
release_interpreter();
if (! resultobject) {
ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, req,
"python_handler: Dispatch() returned nothing.");
return HTTP_INTERNAL_SERVER_ERROR;
}
...
I fear I've wandered off-topic, but I guess my philosophy in writing
server software is that no bug in a handling a single request should
affect the handling in other requests. That and $1 would get me a cup
of coffee, since I have yet to write any HTTP server software. ;-)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---