Apache Mod-Python - Created: (MODPYTHON-218) Access to additional Apache

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > April 2007 > Created: (MODPYTHON-218) Access to additional Apache





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 Created: (MODPYTHON-218) Access to additional Apache
Richard Barrett (JIRA)

2007-04-30, 1:12 pm

Access to additional Apache functions and request_rec fields
------------------------------------------------------------

Key: MODPYTHON-218
URL: https://issues.apache.org/jira/browse/MODPYTHON-218
Project: mod_python
Issue Type: Improvement
Components: core
Environment: all
Reporter: Richard Barrett
Fix For: 3.3


I have available a patch file which enhances mod_python-3.3.1 source version as described below. How do I submit this for consideration?

1. Added support for the following methods in requestobject.c:

Referring to http://docx.itscales.com/http__request_8h.html:

lookup_file - provides access to ap_sub_req_lookup_file

lookup_method_uri - provides access to ap_sub_req_method_uri

lookup_uri - provides access to ap_sub_req_method_uri

Referring to http://docx.itscales.com/ group___a...t_
o.html


note_basic_auth_failure - provides access to ap_note_basic_auth_failure

2. Added checks on values passed to function setreq_recmbr in requestobject.c for assignment to the following request variable:

method - this function coerces both the method and method_number to the appropriate values for the string value passed in as a parameter

3. Added the function conn_close in connobject.c so that I can force the connection to not be kept alive for another request; sets the value of the conn_rec's keepalive field to AP_CONN_CLOSE.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com