braindead0
31-Dec-2009, 08:16 PM
It appears that EIdSocketError 10054 (and other) errors in Indy threads with EL configured to restart the application after 1 errors in 1 minutes, caused EL to terminate the application.
As soon as I turned off that 'Behaviour' option my application continued fine.
I haven't tried duplicating in a small application, however it should be easy to setup an Indy HTTPServer, then in the OnGet event query some data or some other operation that takes a little time. I found that I could get a socket exception 10054 by refreshing the page and quickly closing the browser/browser tab (killing the socket of course).
I tried tracking this down in EL, however once I found a workaround I gave up on that.
I also found that filtering doesn't appear to be working correctly for EIdSocketError (maybe others). I had EIdSocketError in the exception filters list, with handler set to EurekaLog, Dialog and Action both set to None (and exception filter 'Activate' checked of course). When I get this error EL is still sending a report. I changed the filter to handler (none) and that fixed the problem. I can also set the filter to RTL and no problem (probably expected).
As soon as I turned off that 'Behaviour' option my application continued fine.
I haven't tried duplicating in a small application, however it should be easy to setup an Indy HTTPServer, then in the OnGet event query some data or some other operation that takes a little time. I found that I could get a socket exception 10054 by refreshing the page and quickly closing the browser/browser tab (killing the socket of course).
I tried tracking this down in EL, however once I found a workaround I gave up on that.
I also found that filtering doesn't appear to be working correctly for EIdSocketError (maybe others). I had EIdSocketError in the exception filters list, with handler set to EurekaLog, Dialog and Action both set to None (and exception filter 'Activate' checked of course). When I get this error EL is still sending a report. I changed the filter to handler (none) and that fixed the problem. I can also set the filter to RTL and no problem (probably expected).