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

Publish API used by luasec #72

Closed
wants to merge 2 commits into from
Closed

Publish API used by luasec #72

wants to merge 2 commits into from

Conversation

horazont
Copy link

Hi everyone,

This is a quite large pull request and it deserves some explanation. It is one of two pull requests (the second one going to luasec) which shall fix the issue of duplication of code in luasocket and luasec and the issues which arise from using a dynamically linked version of luasec (see also Prosody bug #28).

The first commit publishes the WAITFD_* constants, which are used by luasec at some places and is part of the modifications luasec makes to the luasocket headers.

The second one is larger and possibly more disputable. It publishes a whole bunch, probably more than strictly needed, of functions using the LUASOCKET_API define. This is required to allow luasec to find the symbols if loaded into the same process.

Together with the pull request which will be issued in a minute to luasec, this could improve user experience, especially on redhat systems, where the libraries are dynamically linked, a lot.

If you have any suggestions for improvements or any kind of critique, please let me know so that we can fix that quickly.

best regards,
Jonas

@alerque
Copy link
Member

alerque commented Mar 19, 2022

Does anybody have any input as to the current state of affairs here?

@Tieske
Copy link
Member

Tieske commented Mar 22, 2022

this is superseded by #346

@Tieske Tieske closed this Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants