I have implemented an ASP.NET http handler. It appears to me that there is no way to set a timeout e.g. if the handler has been running for over X seconds dont serve the result.
Am I correct here or is there a way to achieve a timeout for an ashx handler?
ASP.Net has a built in timeout that will cause it to kill a connection exceeding the configured limits.
The default is 110 seconds.
However, this is disabled when compiled in DEBUG mode.
If you need to set an execution timeout for a specific handler, then you can always create a location specifically for that handler, and set the timeout there.