#4 Timeouts not happening when processing template tags

closed-fixed
None
5
2006-12-05
2006-12-05
No

In version 2.0 there is the potential that the bot could get into an infinite loop when processing the template tag especially if it encountered an srai tag that ultimately led back to itself.

Currently, there is no check against the Request object's StartedOn attribute to see if it should be marked as timed out (thus avoiding the loop).

Discussion

  • Nicholas Tollervey

    Logged In: YES
    user_id=895659
    Originator: YES

    This hole has now been plugged in two ways:
    a) Each time an AIML tag is processed the request is checked to make sure it hasn't timed out.
    b) When the srai class calls a sub-request with the new path the new request object has the same StartedOn value as the original request.

     
  • Nicholas Tollervey

    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks