In order to match the need of reading server_rec object fields, command ::rivet::inspect could be extended to support keywords returning some meaningful data to be read.

A server_rec object pointer can be read either from a request_rec object while handling a request or from the argument list of the Rivet_ChildHandler callback (in fact during initialization/termination a request_rec is not available). The only problem is discriminating between these two conditions.

::rivet::inspect could return a few useful information such as the site administrator email, host name, host aliases. Not many fields look to me pertinent to web application programming though. Anyway, generally introspection is a good thing.

 -- Massimo



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to