Thursday February 14, 2002
03:10 PM
per-connection cleanups
well, I fiddled around for 30 minutes this afternoon and was able to get a prototype for per-connection cleanups working in mod_perl. the patch to Connection.xs is
here. the idea here is that with HTTP/1.1 one connection (and hence one apache child process) can service more than one request. someone on #modperl wanted to do something with some cached mySQL connection that was cleaned up at the end of the connection (or something like that) and I thought it would be rather easy to implement.
turns out it was easy, but only because Doug has some pretty incredible code in the recesses of mod_perl that he poured over for years. I am eternally impressed with his work.
per-connection cleanups 0 Comments More | Login | Reply /