[plt-scheme] Resource management in the web server
Hi all,
I'm dealing with a resource (port) leak in a servlet I'm writing. Can I hook into the web server in some way to ensure resources are freed on continuation expiry? The obvious thing to do is setup a custodian that the web server kills. So, is the current custoidian in scope of a servlet the custodian that the web server uses to clean up resources on continuation expiry? If not, is there another way I should use?
Thanks,
Noel
Email: noelwelsh yahoo com noel untyped com
AIM: noelhwelsh
Blogs: http://monospaced.blogspot.com/ http://www.untyped.com/untyping/