Reference

boost::redis::config::max_read_size

Maximum size of a socket read, 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.

Created with MrDocs