serverobject.c

Checkout Tools
  • last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
(MODPYTHON-170) Added req._request_rec, server._server_rec and

conn._conn_rec semi private members for getting accessing to underlying

Apache struct as a Python CObject. These can be used for use in

implementing SWIG bindings for lower level APIs of Apache. These members

should be regarded as experimental and there are no guarantees that they

will remain present in this specific form in the future.

  1. … 5 more files in changeset.
(MODPYTHON-196) Added log_error() methods to server and connection objects.

Also removed some unused variables which were causing compiler warnings.

  1. … 8 more files in changeset.
When in a sub request, when a request is the result of an internal

redirect, or when when returning from such a request, the req.main,

req.prev and req.next members now correctly return a reference to the

original Python request object wrapper first created for the specific

request_rec instance rather than creating a new distinct Python request

object. This means that any data added explicitly to a request object can

be passed between such requests. (MODPYTHON-152)

  1. … 8 more files in changeset.
Added new req.server.get_options() method. (MODPYTHON-137)

  1. … 6 more files in changeset.
Ref MODPYTHON-99

Fixed segfault bug which occured when some request or server object

members were accessed. Affected members are:

server.names

server.wild_names

req.allowed_xmethods

req.allowed_methods

req.content_languages

In util.c, changed tuple_from_array_header() and tuple_from_method_list()

to return an empty tuple rather than None when there are 0 elements.

Changed unit tests to check for empty tuple for:

req.allowed_methods

req.allowed_xmethods

Added unit tests for:

server.names

server.wildnames

req.content_language

  1. … 5 more files in changeset.
property cleanup

  1. … 75 more files in changeset.
Server cleanup crash fix.

PR:

Obtained from:

Submitted by: Stephane Bidoul

Reviewed by:

  1. … 1 more file in changeset.
New license

  1. … 42 more files in changeset.
Replace PyMem_NEW with PyObject_New and free with PyObject_Del for

proper compatibility w/ Python 2.3 (does this break 2.2?).

PR:

Obtained from:

Submitted by: Ron Reisor

Reviewed by:

  1. … 6 more files in changeset.
Added restart_time

PR:

Obtained from:

Submitted by:

Reviewed by:

Returned server.my_generation, which got lost somewhere.

This gigantic patch gets rid of all tabs in C code. I know this is ugly, but

better late than never!

PR:

Obtained from:

Submitted by:

Reviewed by:

  1. … 20 more files in changeset.
Server object is now a "new" python object.

PR:

Obtained from:

Submitted by:

Reviewed by:

  1. … 2 more files in changeset.
we now pass tests on darwin

Remove // comments

Submitted By: Justin Erenkrantz

  1. … 2 more files in changeset.
Fixed server.register_cleanup() which was left in its 2.x state

  1. … 3 more files in changeset.
Take Roy Fielding's advice and keep Grisha's email address out of the

source code. No need to send yet more spam his way :-)

  1. … 29 more files in changeset.
WHAM!

Revamp the copyright/license headers in all(?) of the files. Include

the appropriate attribution/recognition to Grisha's original work.

  1. … 29 more files in changeset.
added PythonConnectionHandler and returned PythonEnablePdb

  1. … 11 more files in changeset.
added req.document_root()

  1. … 7 more files in changeset.
patches to compile with httpd-2.0.36

  1. … 7 more files in changeset.
added access to my_generation and restart_time

  1. … 1 more file in changeset.
config works... may be

  1. … 3 more files in changeset.
mod_python 3.0 alpha

  1. … 24 more files in changeset.
req.server.register_cleanup fixed

  1. … 1 more file in changeset.
typo in mod_python.c, fixed type inits on win32

  1. … 8 more files in changeset.
copyright change 2

  1. … 26 more files in changeset.
I forgot to uncomment type initialization. type(req.headers_in)

would segfault. Fixed. Continuing work on publisher.py module.

  1. … 8 more files in changeset.
grand reorg file split

  1. … 23 more files in changeset.