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

Crash under the load #60

Open
inkho opened this issue May 28, 2018 · 0 comments
Open

Crash under the load #60

inkho opened this issue May 28, 2018 · 0 comments

Comments

@inkho
Copy link

inkho commented May 28, 2018

async_write in RedisClientImpl::asyncWrite causes a crash under the load. Should be wrapped by strand as well:

        boost::asio::async_write(socket, buffers,
                strand.wrap(std::bind(&RedisClientImpl::asyncWrite, shared_from_this(), std::placeholders::_1, std::placeholders::_2)));

This solves the issue.

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