Warning! The version you're viewing is not the latest. Go to the latest version
#include <lib/inc/drogon/HttpAppFramework.h> virtual HttpAppFramework & setMaxConnectionNumPerIP(size_t maxConnectionsPerIP)=0
Set the maximum number of connections per remote IP.
The default value is 0 which means no limit.
- This operation can be performed by an option in the configuration file.