Skip to content

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

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

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

Conversation

@yancl
Copy link

@yancl yancl commented Oct 15, 2019

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
Copy link
Author

yancl commented Oct 15, 2019

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