Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

geoff (2013)

geoff
  reversethis-{gro ... om} {ta} {ffoeg}
http://www.modperlcookbook.org/

see http://www.modperlcookbook.org/~geoff/ [modperlcookbook.org] for personal information, links to presentations, GPG key, and so on.

Journal of geoff (2013)

Thursday February 14, 2002
03:10 PM

per-connection cleanups

[ #2872 ]
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.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.