We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently if a recursion loop is created the interpreter will not detect this and end up panicking with a stack overflow error.
sub f1 { call f2; } sub f2 { call f1; }
sub test { testing.call_subroutine("f1"); }
% falco test main.vcl Running tests...runtime: goroutine stack exceeds 1000000000-byte limit runtime: sp=0xc03f1ea348 stack=[0xc03f1ea000, 0xc05f1ea000] fatal error: stack overflow ...
The interpreter should return an error and not panic.
The text was updated successfully, but these errors were encountered:
richardmarshall
Successfully merging a pull request may close this issue.
Kind of proposals
Describe the problem
Currently if a recursion loop is created the interpreter will not detect this and end up panicking with a stack overflow error.
VCL code that cause the problem / reproduceable
Expected behavior
The interpreter should return an error and not panic.
The text was updated successfully, but these errors were encountered: