A similar problem exists with apache, as long as the user clicks there stop button.
When running in a CGI environment this turns out not to be the case. Apache can, and will if you tell it, limit the total amount of CPU time a spawned CGI process can take. IIS has a similar setting, I'm sure, and I've no doubt microsoft already has
a similar solution. There's nothing for perl to do here.
In a more embedded situation, such as mod_perl under Apache or the IIS equivalent, you don't want perl doing the killing of itself either, as that's not the right thing to do -- you want the interface module (mod_perl or whatever the IIS version is) do handle the timeouts and killing and whatnot. So there's nothing for perl to do there either. (The last thing you want is for something in the guts of the webserver to be dying. That's not good) mod_perl has timeout capabilities already. I have no idea if the IIS plugin for perl does.
Looks like your technical problem is already solved or located somewhere else. If you still think it isn't, here certainly isn't the place to get it fixed -- you need to talk to the perl5-porters list if you're still convinced it's a perl problem, or whoever makes the perl plugin bits for IIS (I presume ActiveState).
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
Outside of code tags, you may need to use entities for some characters:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||