Skip to content
New issue

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

FFI ngx_http_lua_set_req equivilent #9

Closed
splitice opened this issue Feb 4, 2016 · 2 comments
Closed

FFI ngx_http_lua_set_req equivilent #9

splitice opened this issue Feb 4, 2016 · 2 comments

Comments

@splitice
Copy link

splitice commented Feb 4, 2016

As far as I can see there is no equivalent to getfenv(0).__ngx_req for the stream session as far as I can see implemented in the lua stream module.

I dont think I can implement this one myself, however it is a requirement for the FFI side of balancer_by_lua_* (#7)

@agentzh
Copy link
Member

agentzh commented Feb 4, 2016

@splitice We use __ngx_sess in this context instead.

@splitice
Copy link
Author

splitice commented Feb 4, 2016

Thanks I couldn't find that.

@splitice splitice closed this as completed Feb 4, 2016
agentzh pushed a commit that referenced this issue Oct 6, 2017
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

No branches or pull requests

2 participants