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

Help needed invoking multiple addresses #530

Open
sebastienros opened this issue Oct 27, 2023 · 0 comments
Open

Help needed invoking multiple addresses #530

sebastienros opened this issue Oct 27, 2023 · 0 comments

Comments

@sebastienros
Copy link

I'd like to create a LUA script which would invoke different addresses (not paths) each assigned to a thread. It would be similar to the addr.lua script that is provided as a sample, but using specific addresses instead of doing using the lookup method. The goal is to spread the load on different ports of the same server.

I am thinking that these addresses could come from the script arguments, or from a port range taken out of the main addr argument. My issue is that these come as strings, and the thread requires and addr type. I don't understand how to do that with the LUA extensibility. I found a parse_url method in the source but it's not available to the LUA host AFAIK.

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

1 participant