quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Dumpleton <grah...@dscpl.com.au>
Subject Re: Purpose of mp_conn.server member?
Date Sun, 05 Nov 2006 05:51:17 GMT

On 05/11/2006, at 7:32 AM, Jim Gallacher wrote:

> I was fixing a error in the new mp_conn.log_error method and I  
> noticed that the connobject struct has a PyObject *server element.  
> There is no corresponding apache conn_rec->server attribute, I  
> don't see it being used anywhere in our code, and it is  
> undocumented in mp_conn members.
> See src/connobject.c line 49 and src/include/connobject.h line 44  
> and http://www.modpython.org/live/current/doc-html/pyapi-mpconn- 
> mem.html
> Does anyone know why it exists? It this some vestige from any  
> earlier age that can be deleted?

Looks safe to delete, not ever set to anything and not even accessible
from the Python side anyway.


View raw message