8000 Default configuration · Issue #100 · haywire/haywire · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Default configuration #100 856C

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

Open
nmdguerreiro opened this issue Feb 11, 2016 · 0 comments
Open

Default configuration #100

nmdguerreiro opened this issue Feb 11, 2016 · 0 comments

Comments

@nmdguerreiro
Copy link
Contributor

We currently have to initialize configuration with all the values in the examples. Similarly, user code will have to set all parameters to avoid unpredictable behaviour.

Instead, we should provide a hw_init_config function that allocates memory for configuration and sets all parameters to their default values (e.g. listen backlog = SOMAXCONN, thread_count = 0, tcp nodelay = off, tcp port = 8000, etc).

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
0