Skip to content

feature: turn on FFI API for stream module #58

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

Closed

Conversation

james-callahan
Copy link

Originally part of openresty/stream-lua-nginx-module#122

This PR removes the limitations that force us to use NGX_LUA_NO_FFI_API in the stream module.

@agentzh
Copy link
Member

agentzh commented Feb 4, 2019

@dndx Will you have a look at this?

We're going to remove the non-FFI APIs in both the stream and http lua modules anyway.

@dndx
Copy link
Member

dndx commented Feb 4, 2019

@james-callahan Have you ran stream_lua's tests with this change?

@james-callahan
Copy link
Author

@james-callahan Have you ran stream_lua's tests with this change?

No. I was never able to get the test suite to run on my computer.

@agentzh
Copy link
Member

agentzh commented Feb 5, 2019

@james-callahan Then it may break stuff. See how travis ci runs the test suite, for example:

https://github.com/openresty/stream-lua-nginx-module/blob/master/.travis.yml

Or you can just use travis ci to test your own branch.

@thibaultcha
Copy link
Member

Done as part of #71 which took care of removing the retired CFunction API altogether in favor of the FFI implementation.

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.

4 participants