Ok, here's the diffs. The only other change than the two exception
handlers is a print "." that somehow fixes the FreeBSD restart problem.
Thanks,
Jeff
> At 10:04 AM 9/13/01 -0400, Jeff Johnson wrote:
> >I had forgotten about this until last night when someone
> with (I assume)
> >corrupted cookies hung WebKit again by killing off all the
> threads. Can
> >we have two exception handlers? One to catch corrupted cookies and
> >another to prevent unexpected exceptions from killing off all the
> >threads? I've tested them already but lost my changes in
> favor of CVS.
> >I don't know how to report the exceptions, I just "pass".
> >
> >Jeff
>
> You can print the traceback of the exception to stderr, at
> least that way
> it will show up in the logs.
>
> I think "traceback.print_exc(file=sys.stderr)" will do the trick.
>
> I was meaning to add in the exception handlers, but I haven't
> gotten around
> to it yet. If you do it yourself, send me a patch and I'll
> apply it to
> Webware CVS.
>
> Also, we need to patch up the Cookie.py module and force
> Webware to use our
> modified version, since the standard library one is broken. Again, I
> haven't gotten around to it yet.
ThreadedAppServer.diff
HTTPRequest.diff