At 05:00 PM 9/4/01 -0400, Jeff Johnson wrote:
>I guess there's a bug in Cookie.py but shouldn't AppServer be more
>robust? A bug like this should cause an error page (which it does) but
>it shouldn't be able to hang the entire WebKit server. If we put a
>try/except around handleRequest would that make it harder for bad
>servlet code to hang the server?
You're 100% correct -- we should put a try/except somewhere in here to
protect against bugs like this. (Although we are already well-protected
against bugs in servlets -- if an exception happens in your servlet code,
it gets handled correctly. It's any bugs in the rest of WebKit that are
the problem.)
Jay, do you have any opinion on where to put such a "catch-all" exception
handler? Perhaps we can just wrap the call to rh.handleRequest() in
ThreadedAppServer.threadloop() in a try/except. That ought to catch just
about any possible error and let the thread stay alive. I'll make the
change but since you're the most familiar with this code, I want to get
your opinion.
--
- Geoff Talvola
[EMAIL PROTECTED]
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel