neato

geoff on 2002-06-21T15:59:30

just finished a (very) conceptual but neat module...



in mod_perl, you can register cleanup routines either when the request is over (via $r->register_cleanup) or on server shutdowns/restarts (via Apache->server->register_cleanup). However, in HTTP/1.1 several requests can be lumped into a single connection. What if you wanted to do cleanup processing on a per-connection basis?



Apache::ConnectionCleanup provides the $r->connection->register_cleanup method which allows you to do per-connection cleanups. alphaware, for sure, but cool in concept.



of course, I should be working on those YAPC slides instead of messing around with this stuff...