[Mono-dev] (Nevermind) Asp.net thread abort issue

Gonzalo Paniagua Javier gonzalo at ximian.com
Sat Oct 8 22:08:05 EDT 2005


On Sat, 2005-10-08 at 11:55 -0400, Joshua Tauberer wrote:
> Nevermind my last email.... looks like it was my fault for catching the 
> ThreadAbortException and not either passing it up so ResetAbort() would 
> be called in System.Web.HttpApplication or calling ResetAbort() myself. :)
> 

You really scared me with your previous email :).

Anyway, if you ever decide to catch ThreadAbortException anywhere in the
asp.net pipeline, bear in mind that it's used also when the configured
timeout is reached. So if you're doing something that takes longer than
that, catch the exception and keep going, it might be too easy to cause
the threadpool to be exhausted.

-Gonzalo





More information about the Mono-devel-list mailing list