|
Home > Archive > Apache Mod-Python > November 2006 > Purpose of mp_conn.server member?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Purpose of mp_conn.server member?
|
|
| Jim Gallacher 2006-11-04, 7:12 pm |
| 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/curre...mpconn-mem.html
Does anyone know why it exists? It this some vestige from any earlier
age that can be deleted?
Jim
| |
| Graham Dumpleton 2006-11-05, 1:12 am |
|
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/curre...l/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.
Graham
|
|
|
|
|