Issue Details (XML | Word | Printable)

Key: MODPYTHON-94
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Graham Dumpleton
Reporter: Deron Meranda
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
mod_python

Calling APR optional functions provided by mod_ssl

Created: 29/Nov/05 03:37 AM   Updated: 02/Apr/07 11:44 AM
Return to search
Component/s: core
Affects Version/s: None
Fix Version/s: 3.2.10, 3.3.1

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works modpython4.tex.patch 2005-11-29 03:43 AM Deron Meranda 3 kB
Text File Licensed for inclusion in ASF works requestobject.c.patch 2005-11-29 03:42 AM Deron Meranda 3 kB
Environment: Apache 2

Resolution Date: 07/Mar/06 09:14 AM


 Description  « Hide
mod_python is not able to invoke APR Optional Functions. There are
some cases however where this could be of great benifit.

For example, consider writing an authentication or authorization handler
which needs to determine SSL properties (even if to just answer the
simple question: is the connection SSL encrypted). The normal way of
looking in the subprocess_env for SSL_* variables does not work in those
early handler phases because those variables are not set until the fixup phase.

The mod_ssl module though does provide both a ssl_is_https() and
ssl_var_lookup() optional functions which can be used in earlier
phases. For example look at how mod_rewrite calls those; using
the APR_DECLARE_OPTIONAL_FN and APR_RETRIEVE_OPTIONAL_FN
macros.

I can see how it might be very hard to support optional functions in
general because of the C type linkage issue, but perhaps a select few
could be coded directly into mod_python.


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Deron Meranda made changes - 29/Nov/05 03:38 AM
Field Original Value New Value
Component/s core [ 11607 ]
Deron Meranda made changes - 29/Nov/05 03:42 AM
Attachment requestobject.c.patch [ 12321011 ]
Deron Meranda made changes - 29/Nov/05 03:43 AM
Attachment modpython4.tex.patch [ 12321012 ]
Nicolas Lehuen made changes - 29/Dec/05 05:06 AM
Fix Version/s 3.3 [ 12310101 ]
Affects Version/s 3.2 [ 11060 ]
Graham Dumpleton made changes - 05/Mar/06 03:35 PM
Assignee Graham Dumpleton [ grahamd ]
Graham Dumpleton made changes - 05/Mar/06 03:45 PM
Status Open [ 1 ] In Progress [ 3 ]
Graham Dumpleton made changes - 07/Mar/06 09:14 AM
Resolution Fixed [ 1 ]
Status In Progress [ 3 ] Resolved [ 5 ]
Graham Dumpleton made changes - 12/Aug/06 07:49 AM
Fix Version/s 3.2.10 [ 12312029 ]
Graham Dumpleton made changes - 02/Apr/07 11:44 AM
Status Resolved [ 5 ] Closed [ 6 ]