[Simpleweb-Support] Modifying server behavior
Brought to you by:
niallg
From: Kevin A. S. <ke...@el...> - 2004-11-29 20:26:58
|
I'm using simpleweb for a HTTP proxy project and so far, simpleweb has been superb to use. My thanks to Niall for creating an immensely useful library. I need to modify the simpleweb server behavior in two ways: 1) I'd like to be able to limit the number of threads simpleweb creates for request processing. I've tried using the advice given here: http://sourceforge.net/mailarchive/forum.php?thread_id=5231917&forum_id=38791 but it doesn't appear to have any effect although its entirely possible that I'm doing something wrong :) 2) Is there a graceful way to shutdown simpleweb? I remember reading in the archives that this was being considered for a future release. I'm currently using a JVM shutdown hook, but I'd like something more finely grained. I'd be willing to investigate this further, if it would help. Lastly, I've attached a patch which (I think) fixes a couple of variable name shadowing bugs. The patch should apply cleanly against current CVS. --Kevin |