Apache Mod-Python - Re: Commented: (MODPYTHON-46) PythonHandlerModule directive

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > August 2005 > Re: Commented: (MODPYTHON-46) PythonHandlerModule directive





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 Re: Commented: (MODPYTHON-46) PythonHandlerModule directive
Nick

2005-08-09, 8:47 pm

I don't have a jira account, but I wanted to comment that it's highly
unlikely you would ever have a ConnectionHandler and any other type of
handler defined, since ConnectionHandler pretty much co-opts apache's
handling of the connection at all. So +1 on PythonHandlerModule completely
ignoring ConnectionHandler.

Nick

Jim Gallacher (JIRA) wrote:
> [ http://issues.apache.org/jira/brows...action_12318162 ]
>
> Jim Gallacher commented on MODPYTHON-46:
> ----------------------------------------
>
> I've reviewed the source code and according to src/include/hlist.c:
>
> typedef struct hl_entry {
> const char *handler;
> const char *directory;
> int silent; /* 1 for PythonHandlerModule, where
> if a handler is not found in a module,
> no error should be reported */
> struct hl_entry *next;
> } hl_entry;
>
> So Graham is correct. The logic of SILENT/NOTSILENT is reversed.
>
> Also it looks like SILENT/NOTSILENT is only used in the context of python_directive_handler, so I don't see any side effects from making this change.
>
> I have no objection to disabling PythonConnectionHandler within PythonHandlerModule. If there are no objections I'll apply Graham's patch.
>
>
>
>
>
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com