[mod_python] Adding an object to connection

Scott McNutt smcnutt at monmouth.com
Sat Feb 1 07:14:29 EST 2003


It would be very convenient for my app to know when a
connection is dropped (keepalive timeout or max requests
event occurs on a client connection).

The connection notes are for str types only ... and
req.connection is readonly ... so I'm basically looking for some
way to add an object attribute to the connection ... so I can at
least know when the connection is dropped.

I'd appreciate any ideas, suggestions, comments.

Thank,
--Scott






More information about the Mod_python mailing list