8000 Add "bind_ip" config option by ymmt2005 · Pull Request #64 · cybozu/yrmcds · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add "bind_ip" config option #64

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

Merged
merged 7 commits into from
Jan 21, 2016
Merged

Add "bind_ip" config option #64

merged 7 commits into from
Jan 21, 2016

Conversation

ymmt2005
Copy link
Member

This PR adds a new config option "bind_ip".

bind_ip is a list of IP addresses to which yrmcds bind its sockets.
If bind_ip is empty, yrmcds continues to listen on all interfaces.

Close #63.

Affected functions / classes:
    cybozu::make_server_socket
    cybozu::tcp_server_socket
    cybozu::setup_server_socket
This new option takes a space-separated list of IP addresses.
If given, yrmcds will bind and listen on the IP addresses.
@ymmt2005
Copy link
Member Author

@nojima Please take a look.

@ymmt2005
Copy link
Member Author

This PR also removes unncessary std::move when returning local variables.

nojima added a commit that referenced this pull request Jan 21, 2016
Add "bind_ip" config option
@nojima nojima merged commit 1f8455e into master Jan 21, 2016
@ymmt2005 ymmt2005 deleted the bind_ip branch August 2, 2024 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0