Function setMaxConnectionNumPerIP

Synopsis

#include <lib/inc/drogon/HttpAppFramework.h>

virtual HttpAppFramework & setMaxConnectionNumPerIP(size_t maxConnectionsPerIP)=0

Description

Set the maximum number of connections per remote IP.

The default value is 0 which means no limit.

Note
This operation can be performed by an option in the configuration file.

Source

Line 787 in lib/inc/drogon/HttpAppFramework.h.






Add Discussion as Guest

Log in to DocsForge