On Nov 11, 2007 6:36 AM, Luis Neves <[EMAIL PROTECTED]> wrote: > There is a "timing" issue with the "resumeOhters()" function. > If a client is blocked and all others client sessions are closed the > resumeOthers won't be called and the client doesn't resume.
Thanks for keep testing the filter first of all. :) I thought about reviving stalled sessions without any help of external threads but it seems like its overly complicated to resolve in that way. So I added a ScheduledExecutorService parameter to constructors. resumeOthers() is invoked from the scheduled executor every 3 seconds to take care of the case you mentioned. I think 3 seconds is fine because the case won't happen that often. Please suggest me saner default value if it doesn't work very well. Cheers, Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID: 0x0255ECA6
