Skip to content

Crash under the load #60

@inkho

Description

@inkho

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions