Skip to content

ngx-active-reqs: fix the "semantic error: symbol without referent: id… - #63

Open
yancl wants to merge 1 commit into
openresty:masterfrom
yancl:fix-semantic-error
Open

ngx-active-reqs: fix the "semantic error: symbol without referent: id…#63
yancl wants to merge 1 commit into
openresty:masterfrom
yancl:fix-semantic-error

Conversation

@yancl

@yancl yancl commented Oct 15, 2019

Copy link
Copy Markdown

when run ngx-active-reqs by stap 4.0 without the "-k" option, it reports the following errors:

semantic error: symbol without referent: identifier 'nreqs' at <input>:133:13
    source:         if (nreqs || !0) {
                            ^

so we can assign the $keep_waiting const to a var to fix it

@yancl

yancl commented Oct 15, 2019

Copy link
Copy Markdown
Author

also fix #47 and #55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant