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

Bug Fix: endpoint.hpp Change default listen backlog from 0 to socket_base::max_connections #1

Merged
merged 1 commit into from
Jul 17, 2017

Conversation

DemonRx
Copy link

@DemonRx DemonRx commented Jul 14, 2017

  • The default value is specified as *::asio::socket_base::max_connections
    which uses the operating system defined maximum queue length. Your OS
    may restrict or silently lower this value. A value of zero may cause
    all connections to be rejected.

…base::max_connections.

* The default value is specified as *::asio::socket_base::max_connections
    * which uses the operating system defined maximum queue length. Your OS
    * may restrict or silently lower this value. A value of zero may cause
    * all connections to be rejected.
@DemonRx
Copy link
Author

DemonRx commented Jul 14, 2017

This bug causes connections to be rejected when UFW is enabled on Ubuntu 16.04, it's been reported and resolved on: zaphoyd@0bb33e4

I have tested it myself, and is working flawlessly 💯

@roelandp
Copy link

roelandp commented Jul 14, 2017

you are welcome 👍 thx for making this into a pull request. I am curious if it will be pulled in or DecentFoundation waits for 0.8 release of WebsocketPP, e.g. Steem will wait for 0.8 WebsocketPP to come out.

@ejossev ejossev merged commit 4ebb31a into DECENTfoundation:master Jul 17, 2017
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.

3 participants