Am 05.10.2012 10:29, schrieb Alex Ivanov:
> First of all, thank you, Christoph, for the excellent software! I've
> been using webware since 2002 and have not yet seen a decent
> replacement to it! Outstanding performance of lightweight servlets
> implementation leaves behind its competitors with their tons of
> useless code. That's the main feature I'm using from webware.
> Upgraded recently to 1.1 and discovered a freeze when I press Ctrl+C.
> It happens only on Windows. I'm using Windows 7. Linux is not
> affected. In fact the reason of the freeze seems to be quite simple:
Thanks for the positive feedback, kudos should go to the authors.
Your analysis of the problem and fix look good to me. It's actually a
race condition, and in fact most of the time it works on my test
machine, but sometimes not. And it's not really a freeze, the server
works properly, just doesn't respond to Ctrl-C any more, right?
I also agree that a better fix would be to use a condition or event
instead of the global flag. I'll work on that and plan to have a bugfix
release this month. A couple of issues have already been fixed after
1.1, and I have one or two other open issues that I want to address.
If there are other small issues that should be addressed in a bugfix
release, let me know.
-- Christoph
|