boost::redis::config::max_read_size :: Boost.Redis

# boost::redis::config::max_read_size

Maximum size of the socket read‐buffer in bytes.

## Synopsis

Declared in `<boost/redis/config.hpp>`

    std::size_t max_read_size = (std::numeric_limits<std::size_t>::max)();

## Description

Sets a limit on how much data is allowed to be read into the read buffer. It can be used to prevent DDOS.

When using Sentinel, this setting applies to masters, replicas and Sentinels.

Created with MrDocs